]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
fixed bug in venn command
[mothur.git] / commandfactory.cpp
index ff156139ea3f3c1d67791d440113177fc261a700..2e8aca7823a76b6656e091b48aeda4a23813aaa1 100644 (file)
 #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"
 
 
 /***********************************************************/
@@ -81,11 +85,14 @@ Command* CommandFactory::getCommand(string commandName){
                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.oturep")                    {   command = new GetOTURepCommand();                   }
                else if(commandName == "tree.shared")                   {   command = new TreeGroupCommand();                   }
                else if(commandName == "bootstrap.shared")              {   command = new BootSharedCommand();                  }
+               else if(commandName == "concensus")                             {   command = new ConcensusCommand();                   }
+               else if(commandName == "dist.seqs")                             {   command = new DistanceCommand();                    }
                else                                                                                    {       command = new NoCommand();                                      }
 
                return command;