X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.h;h=b251fe55bc4fd010582c82297e8b757a0f17113e;hb=f12174bc43f9e8ad536f2a37fb3a763b1ac90ba9;hp=f8bdca17e2a06877a81d4d5eca2fcabd64cef52a;hpb=a44542a3c740cf957cff72ac71742f2fe48b0eaf;p=mothur.git diff --git a/splitgroupscommand.h b/splitgroupscommand.h index f8bdca1..b251fe5 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -30,7 +30,9 @@ public: vector setParameters(); string getCommandName() { return "split.group"; } 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(); }; /***************************************************************************************/