X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removeseqscommand.h;h=1a6365dac35b9e18669f8827c4054268b9123d9e;hp=8238c649489e3dff52371fa06ab8e2f49b93258f;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=14edc148cb299c5624f72bb681375b704aa74f43 diff --git a/removeseqscommand.h b/removeseqscommand.h index 8238c64..1a6365d 100644 --- a/removeseqscommand.h +++ b/removeseqscommand.h @@ -17,23 +17,37 @@ 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, taxfile, outputDir; + string accnosfile, fastafile, namefile, groupfile, countfile, alignfile, listfile, taxfile, qualfile, outputDir; bool abort, dups; vector outputNames; + map uniqueMap; int readFasta(); int readName(); int readGroup(); + int readCount(); int readAlign(); - void readAccnos(); int readList(); int readTax(); + int readQual(); };