X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlistcountcommand.h;h=40ff7d0636f38158eea14fd7523618ab2e107188;hb=1b49ed179327150ebf24d77b33d9b3e6872cc8c0;hp=60d28cc6a351011fdc34af98189025af5d26f487;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/getlistcountcommand.h b/getlistcountcommand.h index 60d28cc..40ff7d0 100644 --- a/getlistcountcommand.h +++ b/getlistcountcommand.h @@ -12,9 +12,6 @@ #include "command.hpp" #include "inputdata.h" #include "listvector.hpp" -#include "readotu.h" - -class GlobalData; /**********************************************************/ @@ -23,18 +20,20 @@ class GetListCountCommand : public Command { public: GetListCountCommand(string); GetListCountCommand(); - ~GetListCountCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~GetListCountCommand(){} + + vector setParameters(); + string getCommandName() { return "get.otulist"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; ListVector* list; - ReadOTUFile* read; InputData* input; bool abort, allLines; @@ -42,8 +41,7 @@ private: string label, listfile, outputDir, sort; ofstream out; vector outputNames; - map > outputTypes; - + void process(ListVector*); }; /**********************************************************/