X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=splitgroupscommand.h;h=ec22b8fedaec8752dd1b9161c6476b0223fc157e;hp=f8bdca17e2a06877a81d4d5eca2fcabd64cef52a;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=a44542a3c740cf957cff72ac71742f2fe48b0eaf diff --git a/splitgroupscommand.h b/splitgroupscommand.h index f8bdca1..ec22b8f 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -28,9 +28,11 @@ 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"; } @@ -39,17 +41,14 @@ public: 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(); }; /***************************************************************************************/