X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=summarycommand.h;h=4936dd8e9ad004bbf18352bb36659463c62be746;hb=79a7d3273749b08d4f9f8dfe350c964ff0c4351e;hp=15b7f4066e9f17b263b30ac3d0b663d7cd414455;hpb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;p=mothur.git diff --git a/summarycommand.h b/summarycommand.h index 15b7f40..4936dd8 100644 --- a/summarycommand.h +++ b/summarycommand.h @@ -25,6 +25,7 @@ public: vector setParameters(); string getCommandName() { return "summary.single"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Summary.single"; } string getDescription() { return "generate summary file that has the calculator value for each line in the OTU data"; } @@ -37,9 +38,9 @@ private: vector sumCalculators; InputData* input; SAbundVector* sabund; - int abund, size; + int abund, size, iters, subsampleSize; - bool abort, allLines, groupMode; + bool abort, allLines, groupMode, subsample; set labels; //holds labels to be used string label, calc, outputDir, sharedfile, listfile, rabundfile, sabundfile, format, inputfile; vector Estimators; @@ -47,7 +48,8 @@ private: vector groups; vector parseSharedFile(string); - string createGroupSummaryFile(int, int, vector&); + vector createGroupSummaryFile(int, int, vector&, map); + int process(SAbundVector*&, ofstream&, ofstream&); };