X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getgroupcommand.h;h=fb438dfd91caf9a8213e780db8c7b626768873d3;hp=bc805bdc7ef5363b3c300b4bc980f535704ee0f7;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=0470f6d037aacb3563c3f7010708120a4a67d4e6 diff --git a/getgroupcommand.h b/getgroupcommand.h index bc805bd..fb438df 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -11,19 +11,30 @@ */ #include "command.hpp" -#include "globaldata.hpp" class GetgroupCommand : public Command { public: GetgroupCommand(string); - ~GetgroupCommand(); - int execute(); - void help(); + GetgroupCommand(); + ~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; + + string outputFile, sharedfile, outputDir; + vector outputNames; ofstream out; ifstream in; bool abort;