X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.h;h=a8dc9a19e656651be58416c99e802e1b98b72a56;hb=6ede3bf5c0a9eedb23f24577a97da81ab3e1f7df;hp=f6e8760e11ef8e02661dc275f22bc94414aa1517;hpb=cea46f0830d8d1a6dc26e3410fc283d26c355831;p=mothur.git diff --git a/splitgroupscommand.h b/splitgroupscommand.h index f6e8760..a8dc9a1 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -24,20 +24,24 @@ class SplitGroupCommand : public Command { public: SplitGroupCommand(string); - ~SplitGroupCommand(); - int execute(); - void help(); + SplitGroupCommand(); + ~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 > nameMap; - map >::iterator itNames; - GroupMap* groupMap; - + string outputDir, namefile, groupfile, groups, fastafile; vector Groups; bool abort;