X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=metastatscommand.h;h=12e0aebbe2d6a61409f5f749aba4a23db2841b31;hp=b4800b71d75bcda1bfa5a39db6f8191849d0b348;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc diff --git a/metastatscommand.h b/metastatscommand.h index b4800b7..12e0aeb 100644 --- a/metastatscommand.h +++ b/metastatscommand.h @@ -25,7 +25,9 @@ public: vector setParameters(); string getCommandName() { return "metastats"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "White JR, Nagarajan N, Pop M (2009). Statistical methods for detecting differentially abundant features in clinical metagenomic samples. PLoS Comput Biol 5: e1000352. \nhttp://www.mothur.org/wiki/Metastats"; } string getDescription() { return "detects differentially abundant features in clinical metagenomic samples"; } @@ -66,7 +68,7 @@ struct metastatsData { vector designMapGroups; vector outputNames; int start; - int num, iters; + int num, iters, count; float threshold; MothurOut* m; string sharedfile; @@ -84,6 +86,7 @@ struct metastatsData { designMapGroups = dg; iters = i; threshold = thr; + count=0; } }; /**************************************************************************************************/ @@ -97,7 +100,7 @@ static DWORD WINAPI MyMetastatsThreadFunction(LPVOID lpParam){ //for each combo for (int c = pDataArray->start; c < (pDataArray->start+pDataArray->num); c++) { - + pDataArray->count++; //get set names string setA = pDataArray->namesOfGroupCombos[c][0]; string setB = pDataArray->namesOfGroupCombos[c][1];