X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removeseqscommand.h;h=474951a9feaee7d497417cf2a03f206367056241;hb=3cd964b03f04bc569c4a7d0b99be9908c54c1d44;hp=434983e8e4c5909be8a083cf8251cee34b0d27ce;hpb=c53c53b0280452e1c3a087fbf807b2e508cd66c4;p=mothur.git diff --git a/removeseqscommand.h b/removeseqscommand.h index 434983e..474951a 100644 --- a/removeseqscommand.h +++ b/removeseqscommand.h @@ -17,20 +17,34 @@ class RemoveSeqsCommand : public Command { public: RemoveSeqsCommand(string); - ~RemoveSeqsCommand(){}; - int execute(); - void help(); - + RemoveSeqsCommand(); + ~RemoveSeqsCommand(){} + + vector setParameters(); + string getCommandName() { return "remove.seqs"; } + string getCommandCategory() { return "Sequence Processing"; } + string getOutputFileNameTag(string, string); + 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 names; - string accnosfile, fastafile, namefile, groupfile, alignfile; - bool abort; + string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir; + bool abort, dups; + vector outputNames; - void readFasta(); - void readName(); - void readGroup(); - void readAlign(); - void readAccnos(); + int readFasta(); + int readName(); + int readGroup(); + int readAlign(); + int readList(); + int readTax(); + int readQual(); };