X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removeseqscommand.h;h=7aaff172800c43b160fe62b2b49c2035e08502f8;hp=1dcb0fceab5ed3800d2b604d2ba32ff632cfec8c;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=315e38cf393c82be238da5b32574f225a020d25c diff --git a/removeseqscommand.h b/removeseqscommand.h index 1dcb0fc..7aaff17 100644 --- a/removeseqscommand.h +++ b/removeseqscommand.h @@ -17,21 +17,38 @@ 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 getHelpString(); + string getOutputPattern(string); + 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, listfile, outputDir; - bool abort; + string accnosfile, fastafile, fastqfile, namefile, groupfile, countfile, alignfile, listfile, taxfile, qualfile, outputDir; + bool abort, dups; + vector outputNames; + map uniqueMap; - void readFasta(); - void readName(); - void readGroup(); - void readAlign(); - void readAccnos(); - void readList(); + int readFasta(); + int readFastq(); + int readName(); + int readGroup(); + int readCount(); + int readAlign(); + int readList(); + int readTax(); + int readQual(); };