X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=8562a8d65c0f9954f68a402dac873346e6dfc444;hb=c568e44459665aca4d8233d45514ab7e0152feeb;hp=f86a354fdcb2fd4c5fb0b744f921e70cdb45abbf;hpb=7588ff51d365aad66f455694afb90b6fd3e6639a;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index f86a354..8562a8d 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -85,6 +85,7 @@ #include "sensspeccommand.h" #include "sffinfocommand.h" #include "seqerrorcommand.h" +#include "normalizesharedcommand.h" /*******************************************************/ @@ -174,6 +175,7 @@ CommandFactory::CommandFactory(){ commands["degap.seqs"] = "degap.seqs"; commands["get.relabund"] = "get.relabund"; commands["sffinfo"] = "sffinfo"; + commands["normalize.shared"] = "normalize.shared"; commands["classify.seqs"] = "MPIEnabled"; commands["dist.seqs"] = "MPIEnabled"; commands["filter.seqs"] = "MPIEnabled"; @@ -306,6 +308,7 @@ 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 { command = new NoCommand(optionString); } return command;