X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removeseqscommand.h;h=1a6365dac35b9e18669f8827c4054268b9123d9e;hp=1f429d92810402f64a1c2d776510719aa7113610;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=aa9238c0a9e6e7aa0ed8b8b606b08ad4fd7dcfe3 diff --git a/removeseqscommand.h b/removeseqscommand.h index 1f429d9..1a6365d 100644 --- a/removeseqscommand.h +++ b/removeseqscommand.h @@ -17,22 +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, 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(); };