X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlistcountcommand.h;h=40ff7d0636f38158eea14fd7523618ab2e107188;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=196d245002498043dd8a32d11de45c5e1eb7c0cb;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git diff --git a/getlistcountcommand.h b/getlistcountcommand.h index 196d245..40ff7d0 100644 --- a/getlistcountcommand.h +++ b/getlistcountcommand.h @@ -12,32 +12,36 @@ #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 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, outputDir; + string label, listfile, outputDir, sort; ofstream out; vector outputNames; - + void process(ListVector*); }; /**********************************************************/