From: gmungoc Date: Wed, 24 May 2017 10:26:11 +0000 (+0100) Subject: JAL-2542 correct adjustment of sequence features for flanking sequence X-Git-Tag: Release_2_10_3b1~241 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=53ff06f7f5e6f8c6d1f594f19a3df90153ead765;p=jalview.git JAL-2542 correct adjustment of sequence features for flanking sequence --- diff --git a/src/jalview/ws/DBRefFetcher.java b/src/jalview/ws/DBRefFetcher.java index fd511dc..493a13c 100644 --- a/src/jalview/ws/DBRefFetcher.java +++ b/src/jalview/ws/DBRefFetcher.java @@ -705,7 +705,7 @@ public class DBRefFetcher implements Runnable */ int start = sequenceStart; int end = sequence.getEnd(); - int startShift = 1 - absStart - start; + final int startShift = absStart - start + 1; if (startShift != 0) {