]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
added abundance and sample parameters to get.coremicrobiome command.
[mothur.git] / commandfactory.cpp
index 6d645f3116d1bd81e690a27b65f469228640ca59..53a438aebd41ba1c86b1f42f84169e20c8ab9083 100644 (file)
 #include "pcrseqscommand.h"
 #include "createdatabasecommand.h"
 #include "makebiomcommand.h"
-#include "getcoremicrobiomcommand.h"
+#include "GetCoreMicroBiomeCommand.h"
 
 /*******************************************************/
 
@@ -284,7 +284,7 @@ CommandFactory::CommandFactory(){
     commands["pcr.seqs"]            = "pcr.seqs";
     commands["create.database"]     = "create.database";
     commands["make.biom"]           = "make.biom";
-    commands["get.coremicrobiom"]   = "get.coremicrobiom";
+    commands["get.coremicrobiome"]   = "get.coremicrobiome";
        commands["quit"]                                = "MPIEnabled"; 
 
 }
@@ -495,7 +495,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
         else if(commandName == "pcr.seqs")              {      command = new PcrSeqsCommand(optionString);                 }
         else if(commandName == "create.database")       {      command = new CreateDatabaseCommand(optionString);          }
         else if(commandName == "make.biom")             {      command = new MakeBiomCommand(optionString);                }
-        else if(commandName == "get.coremicrobiom")     {      command = new GetCoreMicroBiomCommand(optionString);                }
+        else if(commandName == "get.coremicrobiome")    {      command = new GetCoreMicroBiomeCommand(optionString);       }
                else                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;
@@ -647,7 +647,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString, str
         else if(commandName == "pcr.seqs")              {      pipecommand = new PcrSeqsCommand(optionString);                 }
         else if(commandName == "create.database")       {      pipecommand = new CreateDatabaseCommand(optionString);          }
         else if(commandName == "make.biom")             {      pipecommand = new MakeBiomCommand(optionString);                }
-        else if(commandName == "get.coremicrobiom")     {      pipecommand = new GetCoreMicroBiomCommand(optionString);                }
+        else if(commandName == "get.coremicrobiome")    {      pipecommand = new GetCoreMicroBiomeCommand(optionString);       }
                else                                                                                    {       pipecommand = new NoCommand(optionString);                                              }
 
                return pipecommand;
@@ -785,7 +785,7 @@ Command* CommandFactory::getCommand(string commandName){
         else if(commandName == "pcr.seqs")              {      shellcommand = new PcrSeqsCommand();                }
         else if(commandName == "create.database")       {      shellcommand = new CreateDatabaseCommand();         }
         else if(commandName == "make.biom")             {      shellcommand = new MakeBiomCommand();               }
-        else if(commandName == "get.coremicrobiom")     {      shellcommand = new GetCoreMicroBiomCommand();       }
+        else if(commandName == "get.coremicrobiome")    {      shellcommand = new GetCoreMicroBiomeCommand();      }
                else                                                                                    {       shellcommand = new NoCommand();                                         }
 
                return shellcommand;