JAL-2781 JAL-2780 include sequence start number when computing position in PDB sequen...
authorJim Procter <jprocter@issues.jalview.org>
Tue, 13 Feb 2018 15:33:16 +0000 (15:33 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 13 Feb 2018 15:33:16 +0000 (15:33 +0000)
src/jalview/ws/sifts/SiftsClient.java

index 3899f04..c9c4618 100644 (file)
@@ -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)
         {