X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getgroupcommand.h;h=fb438dfd91caf9a8213e780db8c7b626768873d3;hp=00c1b51936009de1fb24d5fa227cc40c3c5325dd;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=5e7c1cf6a6dd289a90d27c0eef7eb4675b5e17b7 diff --git a/getgroupcommand.h b/getgroupcommand.h index 00c1b51..fb438df 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -6,26 +6,39 @@ * Mothur * * Created by Thomas Ryabin on 2/2/09. - * Copyright 2009 __MyCompanyName__. All rights reserved. + * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. * */ -#include -#include #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