public:
GetSeqsCommand(string);
- ~GetSeqsCommand(){};
- int execute();
- void help();
-
+ GetSeqsCommand();
+ ~GetSeqsCommand(){}
+
+ vector<string> setParameters();
+ string getCommandName() { return "get.seqs"; }
+ string getCommandCategory() { return "Sequence Processing"; }
+ string getHelpString();
+
+ int execute();
+ void help() { m->mothurOut(getHelpString()); }
+
+
private:
set<string> names;
vector<string> outputNames;
- string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, outputDir;
- bool abort;
+ string accnosfile, accnosfile2, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
+ bool abort, dups;
- void readFasta();
- void readName();
- void readGroup();
- void readAlign();
- void readAccnos();
- void readList();
+ int readFasta();
+ int readName();
+ int readGroup();
+ int readAlign();
+ int readAccnos();
+ int readList();
+ int readTax();
+ int readQual();
+ int compareAccnos();
};