]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
removed readseqs, readfasta, readnexus, readclustal, readseqsphylip and updated seque...
[mothur.git] / commandfactory.cpp
index 9b6411855b19a8cee7a9f5a4489d8fc522a689c8..c9a3e6aab4841f8656e813f4acb9fc4e41817b60 100644 (file)
@@ -46,6 +46,7 @@
 #include "getsabundcommand.h"
 #include "getrabundcommand.h"
 #include "seqsummarycommand.h"
+#include "screenseqscommand.h"
 
 
 /***********************************************************/
@@ -69,11 +70,11 @@ Command* CommandFactory::getCommand(string commandName){
        try {
                delete command;   //delete the old command
 
-                        if(commandName == "read.dist")                         {       command = new ReadDistCommand();                        }
+               if(commandName == "read.dist")                                  {       command = new ReadDistCommand();                        }
                else if(commandName == "read.otu")                              {       command = new ReadOtuCommand();                         }
                else if(commandName == "read.tree")                             {       command = new ReadTreeCommand();                        }
                else if(commandName == "cluster")                               {       command = new ClusterCommand();                         }
-               else if(commandName == "deconvolute")                   {       command = new DeconvoluteCommand();                     }
+               else if(commandName == "unique.seqs")                   {       command = new DeconvoluteCommand();                     }
                else if(commandName == "parsimony")                             {       command = new ParsimonyCommand();                       }
                else if(commandName == "help")                                  {       command = new HelpCommand();                            }
                else if(commandName == "quit")                                  {       command = new QuitCommand();                            }
@@ -103,6 +104,7 @@ Command* CommandFactory::getCommand(string commandName){
                else if(commandName == "dist.seqs")                             {   command = new DistanceCommand();                    }
                else if(commandName == "align.seqs")                    {   command = new AlignCommand();                               }
                else if(commandName == "summary.seqs")                  {       command = new SeqSummaryCommand();                      }
+               else if(commandName == "screen.seqs")                   {       command = new ScreenSeqsCommand();                      }
                else                                                                                    {       command = new NoCommand();                                      }
 
                return command;