]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
added log10 and log2 scalers for heatmap
[mothur.git] / commandfactory.cpp
index 19022040cc507e29ec6019442638564ad0ce6048..b4e68e4cd67de88de0198251f2d595c9e000a498 100644 (file)
@@ -22,7 +22,6 @@
 #include "summarycommand.h"
 #include "summarysharedcommand.h"
 #include "rarefactsharedcommand.h"
-#include "nocommand.h"
 #include "quitcommand.h"
 #include "helpcommand.h"
 #include "commandfactory.hpp"
 #include "unifracunweightedcommand.h"
 #include "unifracweightedcommand.h"
 #include "libshuffcommand.h"
-#include "mothur.h"
+#include "heatmapcommand.h"
+#include "venncommand.h"
+#include "nocommands.h"
+#include "binsequencecommand.h"
+#include "getoturepcommand.h"
+#include "treegroupscommand.h"
 
 
 /***********************************************************/
@@ -40,7 +44,6 @@
 CommandFactory::CommandFactory(){
        command = new NoCommand();
 }
-
 /***********************************************************/
 
 /***********************************************************/
@@ -76,6 +79,11 @@ Command* CommandFactory::getCommand(string commandName){
                else if(commandName == "get.label")             {   command = new GetlabelCommand();                    }
                else if(commandName == "get.line")              {   command = new GetlineCommand();                             }
                else if(commandName == "libshuff")              {   command = new LibShuffCommand();                    }
+               else if(commandName == "heatmap")                               {   command = new HeatMapCommand();                             }
+               else if(commandName == "venn")                                  {   command = new VennCommand();                                }
+               else if(commandName == "bin.seqs")                              {   command = new BinSeqCommand();                              }
+               else if(commandName == "get.oturep")                    {   command = new GetOTURepCommand();                   }
+               else if(commandName == "tree.groups")                   {   command = new TreeGroupCommand();                   }
                else                                                                                    {       command = new NoCommand();                                      }
 
                return command;