TraverseByLoci / TraverseByLociByReference suffered from the same sam-triggered off-by-one (?) bug as TraverseByReference; it was just less obvious here because these versions don't shard.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@491 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2009-04-22 15:48:20 +00:00
parent cb2f621d01
commit 4cafb95be8
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class TraverseByLoci extends TraversalEngine {
CloseableIterator<SAMRecord> readIter = samReader.queryOverlapping( interval.getContig(),
(int)interval.getStart(),
(int)interval.getStop() );
(int)interval.getStop()+1 );
Iterator<SAMRecord> wrappedIter = WrapReadsIterator( readIter, false );
sum = carryWalkerOverInterval(walker, wrappedIter, sum, interval);