X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlistcountcommand.h;h=629e9b98991fa839ccca7a704d582150f47f7d5f;hb=006601d68abe8d0061f77e8d28323b160750e343;hp=468ea80ca20308115782bfdf757e8cbd276fe5c9;hpb=c4fb347858dd8cfea4d2933f429fff4130dca65b;p=mothur.git diff --git a/getlistcountcommand.h b/getlistcountcommand.h index 468ea80..629e9b9 100644 --- a/getlistcountcommand.h +++ b/getlistcountcommand.h @@ -12,31 +12,39 @@ #include "command.hpp" #include "inputdata.h" #include "listvector.hpp" -#include "readotu.h" - -class GlobalData; /**********************************************************/ class GetListCountCommand : public Command { public: - GetListCountCommand(string); - ~GetListCountCommand(); - int execute(); - void help(); + GetListCountCommand(string); + GetListCountCommand(); + ~GetListCountCommand(){} + + vector setParameters(); + string getCommandName() { return "get.otulist"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getCitation() { return "http://www.mothur.org/wiki/Get.otulist"; } + string getDescription() { return "lists each OTU number and the sequence contained in that OTU"; } + + string getOutputFileNameTag(string, string); + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; ListVector* list; - ReadOTUFile* read; InputData* input; bool abort, allLines; set labels; //holds labels to be used - string label, listfile; + string label, listfile, outputDir, sort; ofstream out; - + vector outputNames; + void process(ListVector*); }; /**********************************************************/