X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getsabundcommand.h;h=7242342cdcdf455d2861f230fc65c039fd00bd6c;hp=5be00df16ebffdb079273befc3f1d03324256c88;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=a44542a3c740cf957cff72ac71742f2fe48b0eaf diff --git a/getsabundcommand.h b/getsabundcommand.h index 5be00df..7242342 100644 --- a/getsabundcommand.h +++ b/getsabundcommand.h @@ -24,7 +24,9 @@ public: 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"; } @@ -32,15 +34,16 @@ public: void help() { m->mothurOut(getHelpString()); } private: - string filename, format, inputfile, listfile, rabundfile, outputDir; + string filename, format, inputfile, listfile, rabundfile, outputDir, countfile; ofstream out; - InputData* input; - SAbundVector* sabund; vector outputNames; bool abort, allLines; set labels; //holds labels to be used string label; + + int processList(ofstream& out); + int createRabund(CountTable& ct, ListVector*& list, RAbundVector*& rabund); };