]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
finished chimeraslayer method and added get.listcount command
[mothur.git] / commandfactory.cpp
index 433702466c5b531c84edb79a45018a589dceaf86..9adf6791505060d7379fbfc387e1ce6f5d9f5afd 100644 (file)
@@ -56,6 +56,7 @@
 #include "systemcommand.h"
 #include "secondarystructurecommand.h"
 #include "getsharedotucommand.h"
+#include "getlistcountcommand.h"
 
 /***********************************************************/
 
@@ -110,6 +111,7 @@ CommandFactory::CommandFactory(){
        commands["system"]                              = "system";
        commands["align.check"]                 = "align.check";
        commands["get.sharedotu"]               = "get.sharedotu";
+       commands["get.listcount"]               = "get.listcount";
        commands["quit"]                                = "quit"; 
 
 }
@@ -174,6 +176,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "system")                                {       command = new SystemCommand(optionString);                              }
                else if(commandName == "align.check")                   {       command = new AlignCheckCommand(optionString);                  }
                else if(commandName == "get.sharedotu")                 {       command = new GetSharedOTUCommand(optionString);                }
+               else if(commandName == "get.listcount")                 {       command = new GetListCountCommand(optionString);                }
                else                                                                                    {       command = new NoCommand(optionString);                                  }
 
                return command;