]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
fixed mpi version compile issue with chimera.slayer
[mothur.git] / commandfactory.cpp
index 924e3f78479f449d09a6ce6d9bd3985aa846409c..56cca07fd19266820a29e3f529f784581ae00d80 100644 (file)
 #include "mergegroupscommand.h"
 #include "amovacommand.h"
 #include "homovacommand.h"
+#include "mantelcommand.h"
+#include "makefastqcommand.h"
 
 /*******************************************************/
 
@@ -224,6 +226,8 @@ CommandFactory::CommandFactory(){
        commands["remove.rare"]                 = "remove.rare";
        commands["amova"]                               = "amova";
        commands["homova"]                              = "homova";
+       commands["mantel"]                              = "mantel";
+       commands["make.fastq"]                  = "make.fastq";
        commands["merge.groups"]                = "merge.groups";
        commands["pairwise.seqs"]               = "MPIEnabled";
        commands["pipeline.pds"]                = "MPIEnabled";
@@ -388,6 +392,8 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "merge.groups")                  {       command = new MergeGroupsCommand(optionString);                         }
                else if(commandName == "amova")                                 {       command = new AmovaCommand(optionString);                                       }
                else if(commandName == "homova")                                {       command = new HomovaCommand(optionString);                                      }
+               else if(commandName == "mantel")                                {       command = new MantelCommand(optionString);                                      }
+               else if(commandName == "make.fastq")                    {       command = new MakeFastQCommand(optionString);                           }
                else                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;
@@ -517,6 +523,8 @@ Command* CommandFactory::getCommand(string commandName, string optionString, str
                else if(commandName == "merge.groups")                  {       pipecommand = new MergeGroupsCommand(optionString);                             }
                else if(commandName == "amova")                                 {       pipecommand = new AmovaCommand(optionString);                                   }
                else if(commandName == "homova")                                {       pipecommand = new HomovaCommand(optionString);                                  }
+               else if(commandName == "mantel")                                {       pipecommand = new MantelCommand(optionString);                                  }
+               else if(commandName == "make.fastq")                    {       pipecommand = new MakeFastQCommand(optionString);                               }
                else                                                                                    {       pipecommand = new NoCommand(optionString);                                              }
 
                return pipecommand;
@@ -634,6 +642,8 @@ Command* CommandFactory::getCommand(string commandName){
                else if(commandName == "merge.groups")                  {       shellcommand = new MergeGroupsCommand();                        }
                else if(commandName == "amova")                                 {       shellcommand = new AmovaCommand();                                      }
                else if(commandName == "homova")                                {       shellcommand = new HomovaCommand();                                     }
+               else if(commandName == "mantel")                                {       shellcommand = new MantelCommand();                                     }
+               else if(commandName == "make.fastq")                    {       shellcommand = new MakeFastQCommand();                          }
                else                                                                                    {       shellcommand = new NoCommand();                                         }
 
                return shellcommand;