JAL-2679 update query id to actual case of retrieved gene
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 18 Jan 2018 14:54:49 +0000 (14:54 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 18 Jan 2018 14:54:49 +0000 (14:54 +0000)
src/jalview/ext/ensembl/EnsemblGene.java

index c8b59da..0d5fc26 100644 (file)
@@ -152,6 +152,8 @@ public class EnsemblGene extends EnsemblSeqProxy
       }
       if (geneAlignment.getHeight() == 1)
       {
+        // ensure id has 'correct' case for the Ensembl identifier
+        geneId = geneAlignment.getSequenceAt(0).getName();
         getTranscripts(geneAlignment, geneId);
       }
       if (al == null)