JAL-2110 ensure "UniProtKB/Swiss-Prot" dbrefs canonicalised to UNIPROT
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 14 Jun 2016 11:26:04 +0000 (12:26 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 14 Jun 2016 11:26:04 +0000 (12:26 +0100)
src/jalview/datamodel/xdb/embl/EmblEntry.java

index a0e1234..eb49711 100644 (file)
@@ -200,6 +200,7 @@ public class EmblEntry
     {
       for (DBRefEntry dbref : dbRefs)
       {
+        dbref.setSource(DBRefUtils.getCanonicalName(dbref.getSource()));
         dna.addDBRef(dbref);
       }
     }