JAL-1705 add DBRefEntry for 'self' to retrieved transcripts so they are
[jalview.git] / src / jalview / ext / ensembl / EnsemblSeqProxy.java
index 59f5941..5f3f1c8 100644 (file)
@@ -329,6 +329,12 @@ public abstract class EnsemblSeqProxy extends EnsemblRestClient
         seq.setSourceDBRef(xref);
       }
     }
+
+    /*
+     * and add a reference to itself
+     */
+    DBRefEntry self = new DBRefEntry(getDbSource(), "0", seq.getName());
+    seq.addDBRef(self);
   }
 
   /**