X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=2b19f72e1761544c5ec5eb7b676d5bd8ad30e4a6;hb=762b3e4c83e1e8e8392c1199b6482d36ee89e50f;hp=0612c6c51977327cbbd8f100f7c1b13d6b18c7da;hpb=1dc7ed939c314b3057dad3a834e9739fb7ecfbe6;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index 0612c6c..2b19f72 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -81,6 +81,7 @@ #include "clustersplitcommand.h" #include "classifyotucommand.h" #include "degapseqscommand.h" +#include "getrelabundcommand.h" /*******************************************************/ @@ -168,6 +169,7 @@ CommandFactory::CommandFactory(){ commands["split.abund"] = "split.abund"; commands["classify.otu"] = "classify.otu"; commands["degap.seqs"] = "degap.seqs"; + commands["get.relabund"] = "get.relabund"; commands["classify.seqs"] = "MPIEnabled"; commands["dist.seqs"] = "MPIEnabled"; commands["filter.seqs"] = "MPIEnabled"; @@ -294,6 +296,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){ else if(commandName == "cluster.split") { command = new ClusterSplitCommand(optionString); } else if(commandName == "classify.otu") { command = new ClassifyOtuCommand(optionString); } else if(commandName == "degap.seqs") { command = new DegapSeqsCommand(optionString); } + else if(commandName == "get.relabund") { command = new GetRelAbundCommand(optionString); } else { command = new NoCommand(optionString); } return command;