X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsabundcommand.h;h=4c967b5e9f3455c3a7ceea5fd3dac67a99f9695b;hb=ce8794490ab1d83adcdb2b92e0302a1e43e17adf;hp=e2ea5d292fdf7bbd4e9a1d1fb58ab62a80549c6c;hpb=f37a59b81c339f574d97042ff6e364146feb457a;p=mothur.git diff --git a/getsabundcommand.h b/getsabundcommand.h index e2ea5d2..4c967b5 100644 --- a/getsabundcommand.h +++ b/getsabundcommand.h @@ -13,26 +13,31 @@ #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 getOutputFileNameTag(string, string); + string getHelpString(); + 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