X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.h;h=a6b8854752f406a2bcaf82d5094c9abe023c2a46;hb=731d19a6eaf81768ed35e4be25fbac5686a2a7a0;hp=c45c7ff6b386111ba34897c3e13ff213e832b79f;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/splitgroupscommand.h b/splitgroupscommand.h index c45c7ff..a6b8854 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -25,25 +25,22 @@ 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 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;