X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getrabundcommand.h;h=7e9363080e7bf7b794b3797c37df9527d8f84764;hb=79a7d3273749b08d4f9f8dfe350c964ff0c4351e;hp=92e8475d154db06761e52ada6d72120bb586ce16;hpb=348a7bac1d3c5d17ae0e4a93b78f69f4e200a190;p=mothur.git diff --git a/getrabundcommand.h b/getrabundcommand.h index 92e8475..7e93630 100644 --- a/getrabundcommand.h +++ b/getrabundcommand.h @@ -13,31 +13,39 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "listvector.hpp" -class GlobalData; class GetRAbundCommand : public Command { public: GetRAbundCommand(string); - ~GetRAbundCommand(); - int execute(); - void help(); + GetRAbundCommand(); + ~GetRAbundCommand(){} + + vector setParameters(); + string getCommandName() { return "get.rabund"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Get.rabund"; } + string getDescription() { return "creates a rabund file"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - string filename; + + string filename, listfile, sabundfile, inputfile, format, outputDir; ofstream out; - ReadOTUFile* read; InputData* input; - ListVector* list; RAbundVector* rabund; + vector outputNames; bool abort, allLines, sorted; - set lines; //hold lines to be used set labels; //holds labels to be used - string line, label; + string label; };