From d97bf67918528e7c2e1601a537d78eda2fbd2a5d Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 13 Feb 2018 15:33:16 +0000 Subject: [PATCH] JAL-2781 JAL-2780 include sequence start number when computing position in PDB sequence when mapping from PDB to PDB --- src/jalview/ws/sifts/SiftsClient.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/jalview/ws/sifts/SiftsClient.java b/src/jalview/ws/sifts/SiftsClient.java index 3899f04..c9c4618 100644 --- a/src/jalview/ws/sifts/SiftsClient.java +++ b/src/jalview/ws/sifts/SiftsClient.java @@ -676,11 +676,7 @@ public class SiftsClient implements SiftsClientI // if the sequence has a primary reference to the PDB, then we are // dealing with a sequence extracted directly from the PDB. In that // case, numbering is PDBe - non-observed residues - currSeqIndex = pdbeIndex; - } - if (currSeqIndex == UNASSIGNED) - { - continue; + currSeqIndex = seq.getStart() - 1 + pdbeIndex; } if (!isObserved) { -- 1.7.10.2