X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removerarecommand.h;h=6a9f2699c6d0a404403372e8ab081d11c9fa85d1;hp=7db54b409672af8937c456d731fffecf91cbe6c2;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=259b6adf51ef0639cafd88cf862e4ffd5e0c7576 diff --git a/removerarecommand.h b/removerarecommand.h index 7db54b4..6a9f269 100644 --- a/removerarecommand.h +++ b/removerarecommand.h @@ -14,6 +14,7 @@ #include "command.hpp" #include "listvector.hpp" + class RemoveRareCommand : public Command { public: @@ -21,25 +22,32 @@ public: RemoveRareCommand(string); RemoveRareCommand(); ~RemoveRareCommand(){} - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "remove.rare"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Remove.rare"; } + string getDescription() { return "removes rare sequences from a sabund, rabund, shared or list and group file"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - string sabundfile, rabundfile, sharedfile, groupfile, listfile, outputDir, groups, label; + string sabundfile, rabundfile, sharedfile, groupfile, countfile, listfile, outputDir, groups, label; int nseqs, allLines; bool abort, byGroup; vector outputNames, Groups; set labels; - map > outputTypes; int processSabund(); int processRabund(); int processList(); int processShared(); + int processLookup(vector&); };