]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
finished get.relabund command
[mothur.git] / commandfactory.cpp
index bd519eebfd6eaa24134dad9ac08f2193004e6386..2b19f72e1761544c5ec5eb7b676d5bd8ad30e4a6 100644 (file)
@@ -80,6 +80,8 @@
 #include "splitabundcommand.h"
 #include "clustersplitcommand.h"
 #include "classifyotucommand.h"
+#include "degapseqscommand.h"
+#include "getrelabundcommand.h"
 
 /*******************************************************/
 
@@ -165,8 +167,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";
@@ -179,6 +182,7 @@ CommandFactory::CommandFactory(){
        commands["chimera.bellerophon"] = "MPIEnabled";
        commands["screen.seqs"]                 = "MPIEnabled";
        commands["summary.seqs"]                = "MPIEnabled";
+       commands["cluster.split"]               = "MPIEnabled";
        commands["quit"]                                = "MPIEnabled"; 
 
 }
@@ -291,6 +295,8 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "split.abund")                   {       command = new SplitAbundCommand(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                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;