]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.h
changed random forest output filename
[mothur.git] / summarysharedcommand.h
index 99ed5d039c9e95e6404731d092b81c2f824a0309..8ba9b9fcf3e40b745cf75ddbaccd2f6df8cde652 100644 (file)
@@ -67,7 +67,9 @@ public:
        vector<string> setParameters();
        string getCommandName()                 { return "summary.shared";                      }
        string getCommandCategory()             { return "OTU-Based Approaches";        }
+       
        string getHelpString(); 
+    string getOutputPattern(string);   
        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"; }
 
@@ -110,6 +112,7 @@ struct summarySharedData {
        unsigned long long end;
        MothurOut* m;
        string sumFile;
+    int count;
        
        summarySharedData(){}
        summarySharedData(string sf, MothurOut* mout, unsigned long long st, unsigned long long en, vector<string> est, vector<SharedRAbundVector*> lu) {
@@ -119,6 +122,7 @@ struct summarySharedData {
                end = en;
         Estimators = est;
         thisLookup = lu;
+        count=0;
        }
 };
 /**************************************************************************************************/
@@ -223,7 +227,7 @@ static DWORD WINAPI MySummarySharedThreadFunction(LPVOID lpParam){
                
                vector<SharedRAbundVector*> subset;
                for (int k = pDataArray->start; k < pDataArray->end; k++) { // pass cdd each set of groups to compare
-            
+            pDataArray->count++;
                        for (int l = 0; l < k; l++) {
                                
                                outputFileHandle << pDataArray->thisLookup[0]->getLabel() << '\t';