X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=c91dbf9abd520fc908698f68756d726d25002e95;hb=c53c53b0280452e1c3a087fbf807b2e508cd66c4;hp=2783aa3acfe56a38d2479af5696e542f2228693b;hpb=b9456b1087ade74251792e039f4e5021dbf32349;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index 2783aa3..c91dbf9 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -52,6 +52,7 @@ #include "chimeraseqscommand.h" #include "listseqscommand.h" #include "getseqscommand.h" +#include "removeseqscommand.h" /***********************************************************/ @@ -102,6 +103,7 @@ CommandFactory::CommandFactory(){ commands["chimera.seqs"] = "chimera.seqs"; commands["list.seqs"] = "list.seqs"; commands["get.seqs"] = "get.seqs"; + commands["remove.seqs"] = "get.seqs"; commands["quit"] = "quit"; } @@ -161,6 +163,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){ else if(commandName == "chimera.seqs") { command = new ChimeraSeqsCommand(optionString); } else if(commandName == "list.seqs") { command = new ListSeqsCommand(optionString); } else if(commandName == "get.seqs") { command = new GetSeqsCommand(optionString); } + else if(commandName == "remove.seqs") { command = new RemoveSeqsCommand(optionString); } else if(commandName == "merge.files") { command = new MergeFileCommand(optionString); } else { command = new NoCommand(optionString); }