X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getgroupcommand.h;h=fb438dfd91caf9a8213e780db8c7b626768873d3;hb=bd27c2b0612942815b7417c79f7ee41f669a2a34;hp=6750373102c4621d6ed4abf5062f537d55849449;hpb=51cf89e90eef8b300c2786eb1560dd89e6e83445;p=mothur.git diff --git a/getgroupcommand.h b/getgroupcommand.h index 6750373..fb438df 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -11,19 +11,34 @@ */ #include "command.hpp" -#include "readmatrix.hpp" - -class GlobalData; class GetgroupCommand : public Command { public: + GetgroupCommand(string); GetgroupCommand(); - ~GetgroupCommand(); - int execute(); + ~GetgroupCommand() {} + + vector setParameters(); + string getCommandName() { return "get.group"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getOutputPattern(string) { return ""; } + string getCitation() { return "http://www.mothur.org/wiki/Get.group"; } + string getDescription() { return "outputs group names"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - GroupMap* groupMap; + + string outputFile, sharedfile, outputDir; + vector outputNames; + ofstream out; + ifstream in; + bool abort; + }; #endif