X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.h;h=62e063d8a0fe93c3942959527cde646996e3430d;hb=cc19310422f125d6628980bd1148e1e816792382;hp=a9a6343084c0982b1be2c6a8688a60cb45804375;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/splitgroupscommand.h b/splitgroupscommand.h index a9a6343..62e063d 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -30,24 +30,24 @@ public: 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"; } + int execute(); void help() { m->mothurOut(getHelpString()); } private: - int readNames(); - int splitFasta(); - vector outputNames; - map > nameMap; - map >::iterator itNames; - GroupMap* groupMap; - - string outputDir, namefile, groupfile, groups, fastafile; + + string outputDir, namefile, groupfile, countfile, groups, fastafile; vector Groups; bool abort; + + int runNameGroup(); + int runCount(); }; /***************************************************************************************/