X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getgroupcommand.h;h=fb438dfd91caf9a8213e780db8c7b626768873d3;hb=372fb21ea66ced432b109225851a1b80ef0491a3;hp=26190b50139745531e2b8ae06201251c73f530aa;hpb=3117b1c3109121dff476997d3c5db5b47a77729b;p=mothur.git diff --git a/getgroupcommand.h b/getgroupcommand.h index 26190b5..fb438df 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -11,21 +11,33 @@ */ #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; + + string outputFile, sharedfile, outputDir; + vector outputNames; ofstream out; + ifstream in; + bool abort; };