X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getgroupcommand.h;h=fb438dfd91caf9a8213e780db8c7b626768873d3;hp=fb3e810666320ea2cd1c32d4b14b0c2cac08c995;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281 diff --git a/getgroupcommand.h b/getgroupcommand.h index fb3e810..fb438df 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -11,26 +11,30 @@ */ #include "command.hpp" -#include "globaldata.hpp" class GetgroupCommand : public Command { public: GetgroupCommand(string); GetgroupCommand(); - ~GetgroupCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~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; - map > outputTypes; ofstream out; ifstream in; bool abort;