]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
sens.spec changes
[mothur.git] / commandfactory.cpp
index 7de4d06f25ddbb1414aaea8e7f4b8d7f72d25590..725ce8cb7d2c4c9685e0f95ae6f67bc5cbb5fc83 100644 (file)
@@ -81,6 +81,8 @@
 #include "clustersplitcommand.h"
 #include "classifyotucommand.h"
 #include "degapseqscommand.h"
+#include "getrelabundcommand.h"
+#include "sensspeccommand.h"
 
 /*******************************************************/
 
@@ -166,9 +168,9 @@ CommandFactory::CommandFactory(){
        commands["clearcut"]                    = "clearcut";
        commands["catchall"]                    = "catchall";
        commands["split.abund"]                 = "split.abund";
-       commands["cluster.split"]               = "cluster.split";
        commands["classify.otu"]                = "classify.otu";
        commands["degap.seqs"]                  = "degap.seqs";
+       commands["get.relabund"]                = "get.relabund";
        commands["classify.seqs"]               = "MPIEnabled"; 
        commands["dist.seqs"]                   = "MPIEnabled";
        commands["filter.seqs"]                 = "MPIEnabled";
@@ -181,6 +183,8 @@ CommandFactory::CommandFactory(){
        commands["chimera.bellerophon"] = "MPIEnabled";
        commands["screen.seqs"]                 = "MPIEnabled";
        commands["summary.seqs"]                = "MPIEnabled";
+       commands["cluster.split"]               = "MPIEnabled";
+       commands["sens.spec"]                   = "sens.spec";
        commands["quit"]                                = "MPIEnabled"; 
 
 }
@@ -294,6 +298,8 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "cluster.split")                 {       command = new ClusterSplitCommand(optionString);                        }
                else if(commandName == "classify.otu")                  {       command = new ClassifyOtuCommand(optionString);                         }
                else if(commandName == "degap.seqs")                    {       command = new DegapSeqsCommand(optionString);                           }
+               else if(commandName == "get.relabund")                  {       command = new GetRelAbundCommand(optionString);                         }
+               else if(commandName == "sens.spec")                             {       command = new SensSpecCommand(optionString);                            }
                else                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;