]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
precluster command finished
[mothur.git] / commandfactory.cpp
index b361b6600655ff57a987cf7bce9b2b543d96c854..d2b22d59b06c469a12c7fce92b132a7971453f50 100644 (file)
@@ -61,6 +61,7 @@
 #include "classifyseqscommand.h"
 #include "phylotypecommand.h"
 #include "mgclustercommand.h"
+#include "preclustercommand.h"
 
 /*******************************************************/
 
@@ -131,6 +132,7 @@ CommandFactory::CommandFactory(){
        commands["classify.seqs"]               = "classify.seqs"; 
        commands["phylotype"]                   = "phylotype";
        commands["mgcluster"]                   = "mgcluster";
+       commands["pre.cluster"]                 = "pre.cluster";
 
 }
 /***********************************************************/
@@ -199,6 +201,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "classify.seqs")                 {       command = new ClassifySeqsCommand(optionString);                }
                else if(commandName == "phylotype")                             {       command = new PhylotypeCommand(optionString);                   }
                else if(commandName == "mgcluster")                             {       command = new MGClusterCommand(optionString);                   }
+               else if(commandName == "pre.cluster")                   {       command = new PreClusterCommand(optionString);                  }
                else                                                                                    {       command = new NoCommand(optionString);                                  }
 
                return command;