]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
rarefaction.shared() fixed bug
[mothur.git] / commandfactory.cpp
index edb3fc358b78394f24634c1398e76872324f6df3..ed6aebe7cadcf302c180a553ca5f586486371874 100644 (file)
@@ -9,8 +9,8 @@
 
 #include "command.hpp"
 #include "readdistcommand.h"
+#include "readtreecommand.h"
 #include "readotucommand.h"
-#include "readlistcommand.h"
 #include "clustercommand.h"
 #include "parselistcommand.h"
 #include "collectcommand.h"
@@ -23,6 +23,7 @@
 #include "quitcommand.h"
 #include "helpcommand.h"
 #include "commandfactory.hpp"
+#include "deconvolutecommand.h"
 #include <exception>
 
 
@@ -48,10 +49,11 @@ Command* CommandFactory::getCommand(string commandName){
        try {
                delete command;   //delete the old command
 
-                        if(commandName == "read.dist")                         {       command = new ReadDistCommand();        }
-               else if(commandName == "read.otu")                              {       command = new ReadOtuCommand(); }
-               else if(commandName == "read.list")                             {       command = new ReadListFileCommand();    }
+                        if(commandName == "read.dist")                         {       command = new ReadDistCommand();                }
+               else if(commandName == "read.otu")                              {       command = new ReadOtuCommand();                 }
+               //else if(commandName == "read.tree")                           {       command = new ReadTreeCommand();                }
                else if(commandName == "cluster")                               {       command = new ClusterCommand();                 }
+               else if(commandName == "deconvolute")                   {       command = new DeconvoluteCommand();             }
                else if(commandName == "help")                                  {       command = new HelpCommand();                    }
                else if(commandName == "quit")                                  {       command = new QuitCommand();                    }
                else if(commandName == "collect.single")                {       command = new CollectCommand();                 }