X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsabundcommand.h;h=685f039f302577505598c84f86637ec0bb06561c;hb=67ea6ccd74dbd64828d31b952808255f206364ff;hp=27d25c2f2c3d2739bb6cfecd85f7b059b4867442;hpb=0024441c1ff9a98467ba53cc7420a37c98f32e86;p=mothur.git diff --git a/getsabundcommand.h b/getsabundcommand.h index 27d25c2..685f039 100644 --- a/getsabundcommand.h +++ b/getsabundcommand.h @@ -13,26 +13,37 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "sabundvector.hpp" -class GlobalData; - class GetSAbundCommand : public Command { public: + GetSAbundCommand(string); GetSAbundCommand(); - ~GetSAbundCommand(); - int execute(); + ~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; - OrderVector* lastOrder; InputData* input; SAbundVector* sabund; + vector outputNames; + + bool abort, allLines; + set labels; //holds labels to be used + string label; + }; #endif