JAL-1705 add exon name to features and render on peptide (to show
[jalview.git] / src / jalview / ext / ensembl / EnsemblCdna.java
index 0a97425..a2ecfcd 100644 (file)
@@ -45,18 +45,13 @@ public class EnsemblCdna extends EnsemblSeqProxy
   }
 
   /**
-   * Answers true unless the feature type is 'transcript' or 'exon' (or a
-   * sub-type in the Sequence Ontology). These features are only retrieved in
-   * order to identify the exon sequence loci, and are redundant information on
-   * the exon sequence itself.
+   * Answers true unless the feature type is 'transcript' (or a sub-type in the
+   * Sequence Ontology).
    */
   @Override
   protected boolean retainFeature(SequenceFeature sf, String accessionId)
   {
-    SequenceOntology so = SequenceOntology.getInstance();
-    String type = sf.getType();
-
-    if (isTranscript(type) || so.isA(type, SequenceOntology.EXON))
+    if (isTranscript(sf.getType()))
     {
       return false;
     }