X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=shhhseqscommand.h;h=ffd72b9ebdc161291f9705333f018cb56c09559c;hp=85be58c307e8a425e9ac4de4b7c2a99e3fe201d7;hb=615301e57c25e241356a9c2380648d117709458d;hpb=f320651dfb5359e6bba597280753553de28a2154 diff --git a/shhhseqscommand.h b/shhhseqscommand.h index 85be58c..ffd72b9 100644 --- a/shhhseqscommand.h +++ b/shhhseqscommand.h @@ -29,8 +29,9 @@ public: vector setParameters(); string getCommandName() { return "shhh.seqs"; } string getCommandCategory() { return "Sequence Processing"; } - string getOutputFileNameTag(string, string); + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "Schloss PD, Gevers D, Westcott SL (2011). Reducing the effects of PCR amplification and sequencing artifacts on 16S rRNA-based studies. PLoS ONE. 6:e27310.\nQuince C, Lanzen A, Davenport RJ, Turnbaugh PJ (2011). Removing noise from pyrosequenced amplicons. BMC Bioinformatics 12:38.\nhttp://www.mothur.org/wiki/Shhh.seqs"; } string getDescription() { return "shhh.seqs"; } @@ -76,7 +77,7 @@ struct shhhseqsData { MothurOut* m; int start; int end; - int sigma, threadID; + int sigma, threadID, count; vector groups; vector mapfileNames; @@ -94,6 +95,7 @@ struct shhhseqsData { sigma = s; threadID = tid; groups = gr; + count=0; } }; @@ -112,6 +114,8 @@ static DWORD WINAPI MyShhhSeqsThreadFunction(LPVOID lpParam){ //precluster each group for (int k = pDataArray->start; k < pDataArray->end; k++) { + pDataArray->count++; + int start = time(NULL); if (pDataArray->m->control_pressed) { return 0; }