]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
added split.groups command
[mothur.git] / commandfactory.cpp
index bbdd61692b7e328937d526e887ef5f0590528f2e..45f89060e62307a463a6637ec89913577f450b72 100644 (file)
@@ -87,6 +87,7 @@
 #include "seqerrorcommand.h"
 #include "normalizesharedcommand.h"
 #include "metastatscommand.h"
+#include "splitgroupscommand.h"
 
 /*******************************************************/
 
@@ -178,6 +179,7 @@ CommandFactory::CommandFactory(){
        commands["sffinfo"]                             = "sffinfo";
        commands["normalize.shared"]    = "normalize.shared";
        commands["metastats"]                   = "metastats";
+       commands["split.groups"]                = "split.groups";
        commands["classify.seqs"]               = "MPIEnabled"; 
        commands["dist.seqs"]                   = "MPIEnabled";
        commands["filter.seqs"]                 = "MPIEnabled";
@@ -312,6 +314,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "sffinfo")                               {       command = new SffInfoCommand(optionString);                                     }
                else if(commandName == "normalize.shared")              {       command = new NormalizeSharedCommand(optionString);                     }
                else if(commandName == "metastats")                             {       command = new MetaStatsCommand(optionString);                           }
+               else if(commandName == "split.groups")                  {       command = new SplitGroupCommand(optionString);                          }
                else                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;