]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
added remove.seqs command
[mothur.git] / commandfactory.cpp
index 2783aa3acfe56a38d2479af5696e542f2228693b..c91dbf9abd520fc908698f68756d726d25002e95 100644 (file)
@@ -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);                                  }