git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe50205
)
JAL-2154 ENA specific Ensembl canonical db prefixes
author
Jim Procter
<jprocter@issues.jalview.org>
Mon, 29 Aug 2016 21:09:50 +0000
(22:09 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Mon, 29 Aug 2016 21:09:50 +0000
(22:09 +0100)
src/jalview/util/DBRefUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/DBRefUtils.java
b/src/jalview/util/DBRefUtils.java
index
d5d0cf5
..
1965c20
100755
(executable)
--- 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);