From: Jim Procter Date: Mon, 29 Aug 2016 21:09:50 +0000 (+0100) Subject: JAL-2154 ENA specific Ensembl canonical db prefixes X-Git-Tag: Release_2_10_0~47^2~4^2~36 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5665f47f06e60c4a3c2715fde7adc02ab4c0186f;hp=fe502057b727c83ac79ce3f541a8acd9ae766abf;p=jalview.git JAL-2154 ENA specific Ensembl canonical db prefixes --- 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);