X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsabundcommand.h;h=d17574f57a8b33e3a0625ae056d604859736e036;hb=836150c0a3666899ad58426388f4999d6cf8829a;hp=b5363e1bce548af4af74408593d855cac4da973c;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/getsabundcommand.h b/getsabundcommand.h index b5363e1..d17574f 100644 --- a/getsabundcommand.h +++ b/getsabundcommand.h @@ -13,33 +13,28 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "sabundvector.hpp" -class GlobalData; - class GetSAbundCommand : public Command { public: GetSAbundCommand(string); GetSAbundCommand(); - ~GetSAbundCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~GetSAbundCommand() {} + + vector setParameters(); + string getCommandName() { return "get.sabund"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; - string filename, format; + string filename, format, inputfile, listfile, rabundfile, outputDir; ofstream out; - ReadOTUFile* read; - OrderVector* order; InputData* input; SAbundVector* sabund; vector outputNames; - map > outputTypes; bool abort, allLines; set labels; //holds labels to be used