From 53ff06f7f5e6f8c6d1f594f19a3df90153ead765 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 24 May 2017 11:26:11 +0100 Subject: [PATCH] JAL-2542 correct adjustment of sequence features for flanking sequence --- src/jalview/ws/DBRefFetcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.2