X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.h;h=a8dc9a19e656651be58416c99e802e1b98b72a56;hb=f509429e06e545bde69c97cacc0eb436775bd329;hp=c45c7ff6b386111ba34897c3e13ff213e832b79f;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/splitgroupscommand.h b/splitgroupscommand.h index c45c7ff..a8dc9a1 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -25,25 +25,23 @@ class SplitGroupCommand : public Command { public: SplitGroupCommand(string); SplitGroupCommand(); - ~SplitGroupCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~SplitGroupCommand() {} + + vector setParameters(); + string getCommandName() { return "split.group"; } + string getCommandCategory() { return "Sequence Processing"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Split.group"; } + string getDescription() { return "split a name or fasta file by group"; } -private: - int readNames(); - int splitFasta(); + int execute(); + void help() { m->mothurOut(getHelpString()); } +private: vector outputNames; - map > outputTypes; - map > nameMap; - map >::iterator itNames; - GroupMap* groupMap; - + string outputDir, namefile, groupfile, groups, fastafile; vector Groups; bool abort;