From 5665f47f06e60c4a3c2715fde7adc02ab4c0186f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 29 Aug 2016 22:09:50 +0100 Subject: [PATCH] JAL-2154 ENA specific Ensembl canonical db prefixes --- src/jalview/util/DBRefUtils.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/util/DBRefUtils.java b/src/jalview/util/DBRefUtils.java index d5d0cf5..1965c20 100755 --- a/src/jalview/util/DBRefUtils.java +++ b/src/jalview/util/DBRefUtils.java @@ -59,6 +59,11 @@ public class DBRefUtils canonicalSourceNameLookup.put("pdb", DBRefSource.PDB); canonicalSourceNameLookup.put("ensembl", DBRefSource.ENSEMBL); + // Ensembl Gn and Tr are for Ensembl genomic and transcript IDs as served + // from ENA. + canonicalSourceNameLookup.put("ensembl-tr", DBRefSource.ENSEMBL); + canonicalSourceNameLookup.put("ensembl-gn", DBRefSource.ENSEMBL); + dasCoordinateSystemsLookup.put("pdbresnum", DBRefSource.PDB); dasCoordinateSystemsLookup.put("uniprot", DBRefSource.UNIPROT); -- 1.7.10.2