]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
working on megastats
[mothur.git] / commandfactory.cpp
index f86a354fdcb2fd4c5fb0b744f921e70cdb45abbf..bbdd61692b7e328937d526e887ef5f0590528f2e 100644 (file)
@@ -85,6 +85,8 @@
 #include "sensspeccommand.h"
 #include "sffinfocommand.h"
 #include "seqerrorcommand.h"
+#include "normalizesharedcommand.h"
+#include "metastatscommand.h"
 
 /*******************************************************/
 
@@ -174,6 +176,8 @@ CommandFactory::CommandFactory(){
        commands["degap.seqs"]                  = "degap.seqs";
        commands["get.relabund"]                = "get.relabund";
        commands["sffinfo"]                             = "sffinfo";
+       commands["normalize.shared"]    = "normalize.shared";
+       commands["metastats"]                   = "metastats";
        commands["classify.seqs"]               = "MPIEnabled"; 
        commands["dist.seqs"]                   = "MPIEnabled";
        commands["filter.seqs"]                 = "MPIEnabled";
@@ -306,6 +310,8 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "sens.spec")                             {       command = new SensSpecCommand(optionString);                            }
                else if(commandName == "seq.error")                             {       command = new SeqErrorCommand(optionString);                            }
                else if(commandName == "sffinfo")                               {       command = new SffInfoCommand(optionString);                                     }
+               else if(commandName == "normalize.shared")              {       command = new NormalizeSharedCommand(optionString);                     }
+               else if(commandName == "metastats")                             {       command = new MetaStatsCommand(optionString);                           }
                else                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;