X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removerarecommand.h;h=2cab7be6fa870d763de76a559b4dfbb72823cfb6;hb=eb71e28b7b7afd82540f4a8f0bac9429c5b9d713;hp=388ec2d762e763ef1623d573eb90fa4074dbb039;hpb=99254b7a399bb635a4acfe8d9c8a586601db5a11;p=mothur.git diff --git a/removerarecommand.h b/removerarecommand.h index 388ec2d..2cab7be 100644 --- a/removerarecommand.h +++ b/removerarecommand.h @@ -13,7 +13,7 @@ #include "command.hpp" #include "listvector.hpp" -#include "globaldata.hpp" + class RemoveRareCommand : public Command { @@ -22,21 +22,26 @@ 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: - GlobalData* globaldata; - 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();