X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=summarysharedcommand.h;h=7c6a4b2965783a8145d311cfae05a150d82c2ce7;hb=ce8794490ab1d83adcdb2b92e0302a1e43e17adf;hp=2ffe90d6ab061601b8e1f8ecc89ee24170d02c7e;hpb=b302d221847b504388ec044c6929e9dde42f9bb1;p=mothur.git diff --git a/summarysharedcommand.h b/summarysharedcommand.h index 2ffe90d..7c6a4b2 100644 --- a/summarysharedcommand.h +++ b/summarysharedcommand.h @@ -67,6 +67,7 @@ public: vector setParameters(); string getCommandName() { return "summary.shared"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Summary.shared"; } string getDescription() { return "generate a summary file containing calculator values for each line in the OTU data and for all possible comparisons between groups"; } @@ -84,15 +85,16 @@ private: vector sumCalculators; InputData* input; - bool abort, allLines, mult, all, createPhylip; + bool abort, allLines, mult, all, createPhylip, subsample; set labels; //holds labels to be used - string label, calc, groups, sharedfile; + string label, calc, groups, sharedfile, output; vector Estimators, Groups, outputNames; vector lookup; string format, outputDir; - int numGroups, processors; + int numGroups, processors, subsampleSize, iters; int process(vector, string, string); int driver(vector, int, int, string, string, vector< vector >&); + int printSims(ostream&, vector< vector >&); }; @@ -121,7 +123,7 @@ struct summarySharedData { } }; /**************************************************************************************************/ -#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) +#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix) #else static DWORD WINAPI MySummarySharedThreadFunction(LPVOID lpParam){ summarySharedData* pDataArray;