From: pschloss Date: Thu, 3 Mar 2011 21:40:52 +0000 (+0000) Subject: modified seqerror and qualscores X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=commitdiff_plain;h=b1343ad169d7ec5caa2d683ebc562d5423249c4d modified seqerror and qualscores --- diff --git a/qualityscores.cpp b/qualityscores.cpp index 6dee986..d57ef08 100644 --- a/qualityscores.cpp +++ b/qualityscores.cpp @@ -308,6 +308,8 @@ void QualityScores::updateQScoreErrorMap(map >& qualErrorMap, try { int seqLength = errorSeq.size(); + cout << start << '\t' << stop << '\t' << seqLength << endl; + int qIndex = start - 1; for(int i=0;i >& qualErrorMap, else if(errorSeq[i] == 'd') { /* there are no qScores for deletions */ } if(errorSeq[i] != 'd') { qIndex++; } - + if(qIndex > stop){ break; } } } catch(exception& e) {