X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlistcountcommand.h;h=c2645562f1111c4a03be95c4e27c143745311ed5;hb=541bab1dac00688b4c3a8c4a95ab464412663c50;hp=bd9d20234c6943adba91be63d4e1569e1bdb225e;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/getlistcountcommand.h b/getlistcountcommand.h index bd9d202..c264556 100644 --- a/getlistcountcommand.h +++ b/getlistcountcommand.h @@ -12,31 +12,40 @@ #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 getHelpString(); + string getOutputPattern(string); + + 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, outputDir; + string label, listfile, outputDir, sort; ofstream out; - + vector outputNames; + void process(ListVector*); }; /**********************************************************/