X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsabundcommand.h;h=685f039f302577505598c84f86637ec0bb06561c;hb=b0997605981902442138b9309e9c43d95c3ba10a;hp=b5363e1bce548af4af74408593d855cac4da973c;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/getsabundcommand.h b/getsabundcommand.h index b5363e1..685f039 100644 --- a/getsabundcommand.h +++ b/getsabundcommand.h @@ -13,33 +13,32 @@ #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(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Get.sabund"; } + string getDescription() { return "creates a sabund file"; } + + 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