From: Jim Procter Date: Tue, 13 Feb 2018 15:33:16 +0000 (+0000) Subject: JAL-2781 JAL-2780 include sequence start number when computing position in PDB sequen... X-Git-Tag: Release_2_10_4~68^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d97bf67918528e7c2e1601a537d78eda2fbd2a5d;p=jalview.git JAL-2781 JAL-2780 include sequence start number when computing position in PDB sequence when mapping from PDB to PDB --- 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) {