]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
added concensus command and updated calcs
[mothur.git] / commandfactory.cpp
index ff156139ea3f3c1d67791d440113177fc261a700..1f6f828faa16e6a1473431057ae02962efe06921 100644 (file)
@@ -37,6 +37,7 @@
 #include "getoturepcommand.h"
 #include "treegroupscommand.h"
 #include "bootstrapsharedcommand.h"
+#include "concensuscommand.h"
 
 
 /***********************************************************/
@@ -86,6 +87,7 @@ Command* CommandFactory::getCommand(string commandName){
                else if(commandName == "get.oturep")                    {   command = new GetOTURepCommand();                   }
                else if(commandName == "tree.shared")                   {   command = new TreeGroupCommand();                   }
                else if(commandName == "bootstrap.shared")              {   command = new BootSharedCommand();                  }
+               else if(commandName == "concensus")                             {   command = new ConcensusCommand();                   }
                else                                                                                    {       command = new NoCommand();                                      }
 
                return command;