]> git.donarmstrong.com Git - mothur.git/blobdiff - splitgroupscommand.h
fixed bug in phylo.diversity rooting. added filename patterns and create filename...
[mothur.git] / splitgroupscommand.h
index a9a6343084c0982b1be2c6a8688a60cb45804375..b251fe55bc4fd010582c82297e8b757a0f17113e 100644 (file)
@@ -30,24 +30,25 @@ public:
        vector<string> 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"; }
+
        
        int execute(); 
        void help() { m->mothurOut(getHelpString()); }  
        
 private:
-       int readNames(); 
-       int splitFasta(); 
-       
        vector<string> outputNames;
-       map<string, vector<string> > nameMap;
-       map<string, vector<string> >::iterator itNames;
-       GroupMap* groupMap;
-       
-       string outputDir, namefile, groupfile, groups, fastafile;
+               
+       string outputDir, namefile, groupfile, countfile, groups, fastafile;
        vector<string> Groups;
        bool abort;
+    
+    int runNameGroup();
+    int runCount();
 };
 
 /***************************************************************************************/