X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getgroupcommand.h;h=7924d7b55a708886c0875bf26f173ffa13cc9da1;hb=d71a31a60542608595ce1278cc4a3398479cec7f;hp=b29673529cca9387ed4a5916166180e0a9966ead;hpb=bfbc55964f1977da72c2cea984288a427d370a59;p=mothur.git diff --git a/getgroupcommand.h b/getgroupcommand.h index b296735..7924d7b 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -6,24 +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 "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 getOutputFileNameTag(string, string) { return ""; } + string getHelpString(); + 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