#include "summaryqualcommand.h"
#include "otuassociationcommand.h"
#include "sortseqscommand.h"
+#include "classifytreecommand.h"
+#include "cooccurrencecommand.h"
+#include "pcrseqscommand.h"
/*******************************************************/
commands["shhh.seqs"] = "shhh.seqs";
commands["otu.association"] = "otu.association";
commands["sort.seqs"] = "sort.seqs";
+ commands["classify.tree"] = "classify.tree";
+ commands["cooccurrence"] = "cooccurrence";
+ commands["pcr.seqs"] = "pcr.seqs";
commands["quit"] = "MPIEnabled";
}
else if(commandName == "shhh.seqs") { command = new ShhhSeqsCommand(optionString); }
else if(commandName == "otu.association") { command = new OTUAssociationCommand(optionString); }
else if(commandName == "sort.seqs") { command = new SortSeqsCommand(optionString); }
+ else if(commandName == "classify.tree") { command = new ClassifyTreeCommand(optionString); }
+ else if(commandName == "cooccurrence") { command = new CooccurrenceCommand(optionString); }
+ else if(commandName == "pcr.seqs") { command = new PcrSeqsCommand(optionString); }
else { command = new NoCommand(optionString); }
return command;
else if(commandName == "shhh.seqs") { pipecommand = new ShhhSeqsCommand(optionString); }
else if(commandName == "otu.association") { pipecommand = new OTUAssociationCommand(optionString); }
else if(commandName == "sort.seqs") { pipecommand = new SortSeqsCommand(optionString); }
+ else if(commandName == "classify.tree") { pipecommand = new ClassifyTreeCommand(optionString); }
+ else if(commandName == "cooccurrence") { pipecommand = new CooccurrenceCommand(optionString); }
+ else if(commandName == "pcr.seqs") { pipecommand = new PcrSeqsCommand(optionString); }
else { pipecommand = new NoCommand(optionString); }
return pipecommand;
else if(commandName == "shhh.seqs") { shellcommand = new ShhhSeqsCommand(); }
else if(commandName == "otu.association") { shellcommand = new OTUAssociationCommand(); }
else if(commandName == "sort.seqs") { shellcommand = new SortSeqsCommand(); }
+ else if(commandName == "classify.tree") { shellcommand = new ClassifyTreeCommand(); }
+ else if(commandName == "cooccurrence") { shellcommand = new CooccurrenceCommand(); }
+ else if(commandName == "pcr.seqs") { shellcommand = new PcrSeqsCommand(); }
else { shellcommand = new NoCommand(); }
return shellcommand;
exit(1);
}
}
-/***********************************************************************/
+***********************************************************************/
bool CommandFactory::isValidCommand(string command) {
try {