X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getrabundcommand.h;h=fd7a6b07fecf135262e310598a3936221cb98826;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=81a5d910b53c84db70c560255ce2b508c4361f33;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/getrabundcommand.h b/getrabundcommand.h index 81a5d91..fd7a6b0 100644 --- a/getrabundcommand.h +++ b/getrabundcommand.h @@ -25,8 +25,12 @@ public: vector setParameters(); string getCommandName() { return "get.rabund"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "http://www.mothur.org/wiki/Get.rabund"; } + string getDescription() { return "creates a rabund file"; } + int execute(); void help() { m->mothurOut(getHelpString()); } @@ -34,17 +38,16 @@ public: private: - string filename, listfile, sabundfile, inputfile, format, outputDir; + string filename, listfile, sabundfile, inputfile, format, outputDir, countfile; ofstream out; - InputData* input; - RAbundVector* rabund; vector outputNames; bool abort, allLines, sorted; set labels; //holds labels to be used string label; - + int processList(ofstream& out); + int createRabund(CountTable& ct, ListVector*& list, RAbundVector*& rabund); }; #endif