#include "sparcccommand.h"
#include "makelookupcommand.h"
#include "renameseqscommand.h"
+#include "makelefsecommand.h"
/*******************************************************/
commands["sparcc"] = "sparcc";
commands["make.lookup"] = "make.lookup";
commands["rename.seqs"] = "rename.seqs";
+ commands["make.lefse"] = "make.lefse";
}
else if(commandName == "sparcc") { command = new SparccCommand(optionString); }
else if(commandName == "make.lookup") { command = new MakeLookupCommand(optionString); }
else if(commandName == "rename.seqs") { command = new RenameSeqsCommand(optionString); }
+ else if(commandName == "make.lefse") { command = new MakeLefseCommand(optionString); }
else { command = new NoCommand(optionString); }
return command;
else if(commandName == "sparcc") { pipecommand = new SparccCommand(optionString); }
else if(commandName == "make.lookup") { pipecommand = new MakeLookupCommand(optionString); }
else if(commandName == "rename.seqs") { pipecommand = new RenameSeqsCommand(optionString); }
+ else if(commandName == "make.lefse") { pipecommand = new MakeLefseCommand(optionString); }
else { pipecommand = new NoCommand(optionString); }
return pipecommand;
else if(commandName == "sparcc") { shellcommand = new SparccCommand(); }
else if(commandName == "make.lookup") { shellcommand = new MakeLookupCommand(); }
else if(commandName == "rename.seqs") { shellcommand = new RenameSeqsCommand(); }
+ else if(commandName == "make.lefse") { shellcommand = new MakeLefseCommand(); }
else { shellcommand = new NoCommand(); }
return shellcommand;