RemoveSeqsCommand(string);
RemoveSeqsCommand();
~RemoveSeqsCommand(){}
- vector<string> getRequiredParameters();
- vector<string> getValidParameters();
- vector<string> getRequiredFiles();
- map<string, vector<string> > getOutputFiles() { return outputTypes; }
- int execute();
- void help();
-
+
+ vector<string> setParameters();
+ string getCommandName() { return "remove.seqs"; }
+ string getCommandCategory() { return "Sequence Processing"; }
+ string getHelpString();
+ string getCitation() { return "http://www.mothur.org/wiki/Remove.seqs"; }
+ string getDescription() { return "removes sequences from a list, fasta, name, group, alignreport, quality or taxonomy file"; }
+
+ int execute();
+ void help() { m->mothurOut(getHelpString()); }
+
+
private:
set<string> names;
- string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, taxfile, outputDir;
+ string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
bool abort, dups;
vector<string> outputNames;
- map<string, vector<string> > outputTypes;
int readFasta();
int readName();
void readAccnos();
int readList();
int readTax();
+ int readQual();
};