X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=splitgroupscommand.h;h=ec22b8fedaec8752dd1b9161c6476b0223fc157e;hp=a9a6343084c0982b1be2c6a8688a60cb45804375;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77 diff --git a/splitgroupscommand.h b/splitgroupscommand.h index a9a6343..ec22b8f 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -28,26 +28,27 @@ public: ~SplitGroupCommand() {} vector setParameters(); - string getCommandName() { return "split.group"; } + string getCommandName() { return "split.groups"; } string getCommandCategory() { return "Sequence Processing"; } + string getHelpString(); + string getOutputPattern(string); 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(); }; /***************************************************************************************/