X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getgroupcommand.h;h=fb438dfd91caf9a8213e780db8c7b626768873d3;hp=b29673529cca9387ed4a5916166180e0a9966ead;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=bfbc55964f1977da72c2cea984288a427d370a59 diff --git a/getgroupcommand.h b/getgroupcommand.h index b296735..fb438df 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 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