]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
added cluster.split command
[mothur.git] / commandfactory.cpp
index f358797f7d94bf557c8bf986dd16faaed03743f3..0bca8c0ee3db3706404b3fc5c4ff42b8c8f99388 100644 (file)
@@ -78,6 +78,7 @@
 #include "clearcutcommand.h"
 #include "catchallcommand.h"
 #include "splitabundcommand.h"
+#include "clustersplitcommand.h"
 
 /*******************************************************/
 
@@ -163,6 +164,7 @@ CommandFactory::CommandFactory(){
        commands["clearcut"]                    = "clearcut";
        commands["catchall"]                    = "catchall";
        commands["split.abund"]                 = "split.abund";
+       commands["cluster.split"]               = "cluster.split";
        commands["classify.seqs"]               = "MPIEnabled"; 
        commands["dist.seqs"]                   = "MPIEnabled";
        commands["filter.seqs"]                 = "MPIEnabled";
@@ -285,6 +287,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "clearcut")                              {       command = new ClearcutCommand(optionString);                            }
                else if(commandName == "catchall")                              {       command = new CatchAllCommand(optionString);                            }
                else if(commandName == "split.abund")                   {       command = new SplitAbundCommand(optionString);                          }
+               else if(commandName == "cluster.split")                 {       command = new ClusterSplitCommand(optionString);                        }
                else                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;