]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
added dist.shared command
[mothur.git] / commandfactory.cpp
index 19022040cc507e29ec6019442638564ad0ce6048..21e7b54548a370065ab554d3a2b0f7b5c4887146 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 "heatmapcommand.h"
+#include "filterseqscommand.h"
 #include "mothur.h"
+#include "venncommand.h"
+#include "nocommands.h"
+#include "binsequencecommand.h"
+#include "getoturepcommand.h"
+#include "treegroupscommand.h"
+#include "bootstrapsharedcommand.h"
+#include "concensuscommand.h"
+#include "distancecommand.h"
+#include "aligncommand.h"
+#include "getrepseqscommand.h"
+#include "matrixoutputcommand.h"
 
 
 /***********************************************************/
@@ -40,7 +52,6 @@
 CommandFactory::CommandFactory(){
        command = new NoCommand();
 }
-
 /***********************************************************/
 
 /***********************************************************/
@@ -76,6 +87,18 @@ 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 == "filter.seqs")                   {   command = new FilterSeqsCommand();          }
+               else if(commandName == "venn")                                  {   command = new VennCommand();                                }
+               else if(commandName == "bin.seqs")                              {   command = new BinSeqCommand();                              }
+               else if(commandName == "get.repseqs")                   {   command = new GetRepSeqsCommand();                  }
+               else if(commandName == "get.oturep")                    {   command = new GetOTURepCommand();                   }
+               else if(commandName == "tree.shared")                   {   command = new TreeGroupCommand();                   }
+               else if(commandName == "dist.shared")                   {   command = new MatrixOutputCommand();                }
+               else if(commandName == "bootstrap.shared")              {   command = new BootSharedCommand();                  }
+               else if(commandName == "concensus")                             {   command = new ConcensusCommand();                   }
+               else if(commandName == "dist.seqs")                             {   command = new DistanceCommand();                    }
+               else if(commandName == "align.seqs")                    {   command = new AlignCommand();                               }
                else                                                                                    {       command = new NoCommand();                                      }
 
                return command;