X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=seqsummarycommand.h;h=552f4a08bee284bf914e6a50cd51176864b8b1d8;hp=3926e25f3c2ebb484b357464d1514dfc957c4000;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=90708fe9701e3827e477c82fb3652539c3bf2a0d diff --git a/seqsummarycommand.h b/seqsummarycommand.h index 3926e25..552f4a0 100644 --- a/seqsummarycommand.h +++ b/seqsummarycommand.h @@ -25,8 +25,9 @@ public: vector setParameters(); string getCommandName() { return "summary.seqs"; } string getCommandCategory() { return "Sequence Processing"; } - string getOutputFileNameTag(string, string); + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "http://www.mothur.org/wiki/Summary.seqs"; } string getDescription() { return "summarize the quality of sequences in an unaligned or aligned fasta file"; } @@ -113,9 +114,10 @@ static DWORD WINAPI MySeqSumThreadFunction(LPVOID lpParam){ in.seekg(pDataArray->start-1); pDataArray->m->gobble(in); } - pDataArray->count = pDataArray->end; for(int i = 0; i < pDataArray->end; i++){ //end is the number of sequences to process + pDataArray->count++; + if (pDataArray->m->control_pressed) { in.close(); outSummary.close(); pDataArray->count = 1; return 1; } Sequence current(in); pDataArray->m->gobble(in);