X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.h;h=62e063d8a0fe93c3942959527cde646996e3430d;hb=e10c72304ee071c0c40e0218a06d89dc4731cbc2;hp=f8bdca17e2a06877a81d4d5eca2fcabd64cef52a;hpb=a44542a3c740cf957cff72ac71742f2fe48b0eaf;p=mothur.git diff --git a/splitgroupscommand.h b/splitgroupscommand.h index f8bdca1..62e063d 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -30,6 +30,7 @@ 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"; } @@ -39,17 +40,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(); }; /***************************************************************************************/