X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.h;h=62e063d8a0fe93c3942959527cde646996e3430d;hb=e8e13c129ba8184ec5932a090773f353f3ae3406;hp=6705ba98e3ab9ebd165429260828632eca43ede4;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;p=mothur.git diff --git a/splitgroupscommand.h b/splitgroupscommand.h index 6705ba9..62e063d 100644 --- a/splitgroupscommand.h +++ b/splitgroupscommand.h @@ -30,23 +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(); }; /***************************************************************************************/