Fix misunderstanding of GenomeLoc interval

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2138 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
alecw 2009-11-24 15:12:49 +00:00
parent cb6d6f2686
commit e5e6d515c3
1 changed files with 2 additions and 2 deletions

View File

@ -252,9 +252,9 @@ public class rodPicardDbSNP implements VariationRod {
private static class MyGenomeLoc extends GenomeLoc { private static class MyGenomeLoc extends GenomeLoc {
private MyGenomeLoc(final KnownVariant knownVariant) { private MyGenomeLoc(final KnownVariant knownVariant) {
// GenomeLoc is one-based half-open interval. // GenomeLoc is one-based closed interval.
super(knownVariant.getReferenceSequence(), knownVariant.getSequenceIndex(), knownVariant.getStartPos(), super(knownVariant.getReferenceSequence(), knownVariant.getSequenceIndex(), knownVariant.getStartPos(),
knownVariant.getEndPos() + 1); knownVariant.getEndPos());
} }
} }