7f69638af183d23eda5fe9f767135a8f3966ebd3 angie Mon Aug 16 16:33:40 2010 -0700 Fixing off-by-one bug in snp's UCSC predicted function (when - strand last base of codon is on a different exon) reported by user Ivan Adzhubey [Mail Lists - ML - MLQ #650]. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 8c9ba50..cfadb0c 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -15040,7 +15040,7 @@ if (--exonIx >= 0) { exonStart = gene->exonStarts[exonIx]; - snpPlusOffset = gene->exonEnds[exonIx]; + snpPlusOffset = gene->exonEnds[exonIx] - 1; } else ranOffEnd = TRUE;