X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsabundcommand.h;h=685f039f302577505598c84f86637ec0bb06561c;hb=67ea6ccd74dbd64828d31b952808255f206364ff;hp=e2ea5d292fdf7bbd4e9a1d1fb58ab62a80549c6c;hpb=f37a59b81c339f574d97042ff6e364146feb457a;p=mothur.git diff --git a/getsabundcommand.h b/getsabundcommand.h index e2ea5d2..685f039 100644 --- a/getsabundcommand.h +++ b/getsabundcommand.h @@ -13,26 +13,32 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "sabundvector.hpp" -class GlobalData; - class GetSAbundCommand : public Command { public: GetSAbundCommand(string); - ~GetSAbundCommand(); - int execute(); - void help(); + GetSAbundCommand(); + ~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; bool abort, allLines; set labels; //holds labels to be used