X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=summarycommand.h;h=3c8420795550e1f39ef5529ad235d13e11e5e7a5;hp=5535237c98f97d32cacf3f967cb2501199a76473;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6 diff --git a/summarycommand.h b/summarycommand.h index 5535237..3c84207 100644 --- a/summarycommand.h +++ b/summarycommand.h @@ -25,7 +25,12 @@ public: vector setParameters(); string getCommandName() { return "summary.single"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getOutputPattern(string); + 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"; } + int execute(); void help() { m->mothurOut(getHelpString()); } @@ -34,9 +39,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; @@ -44,7 +49,8 @@ private: vector groups; vector parseSharedFile(string); - string createGroupSummaryFile(int, int, vector&); + vector createGroupSummaryFile(int, int, vector&, map); + int process(SAbundVector*&, ofstream&, ofstream&); };