Dumb, dumb bug.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@672 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
6e69193e3c
commit
4c12df372c
|
|
@ -90,7 +90,7 @@ public class IntervalCleanerWalker extends LocusWindowWalker<Integer, Integer>
|
|||
|
||||
int sum = 0;
|
||||
for ( int readIndex = 0 ; readIndex < read.length() ; readIndex++, refIndex++ ) {
|
||||
if ( refIndex > ref.length() )
|
||||
if ( refIndex >= ref.length() )
|
||||
sum += MAX_QUAL;
|
||||
else if ( Character.toUpperCase(read.charAt(readIndex)) != Character.toUpperCase(ref.charAt(refIndex)) )
|
||||
sum += (int)quals.charAt(readIndex) - 33;
|
||||
|
|
|
|||
Loading…
Reference in New Issue