X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fjalview%2Fext%2Fensembl%2FEnsemblGenome.java;h=6684e20999f3f48ccda14e9067e6eee458bc283b;hb=518c10ed28fbc64c637bbe1a0f336d8e3bf594a6;hp=bde3c0f8ad23dc2aa02b25c55554ed4bb292b7eb;hpb=17ff1f476e009b3a3c7e892e416edc2a4af8a2bc;p=jalview.git diff --git a/src/jalview/ext/ensembl/EnsemblGenome.java b/src/jalview/ext/ensembl/EnsemblGenome.java index bde3c0f..6684e20 100644 --- a/src/jalview/ext/ensembl/EnsemblGenome.java +++ b/src/jalview/ext/ensembl/EnsemblGenome.java @@ -21,6 +21,11 @@ package jalview.ext.ensembl; import jalview.datamodel.SequenceFeature; +import jalview.datamodel.SequenceI; +import jalview.io.gff.SequenceOntologyI; + +import java.util.ArrayList; +import java.util.List; /** * A client to fetch genomic sequence from Ensembl @@ -94,22 +99,32 @@ public class EnsemblGenome extends EnsemblSeqProxy } /** - * Answers true if the sequence feature type is 'transcript' (or a subtype of - * transcript in the Sequence Ontology), and the ID of the feature is the - * transcript we are retrieving + * Answers a list of sequence features (if any) whose type is 'transcript' (or + * a subtype of transcript in the Sequence Ontology), and whose ID is the + * accession we are retrieving. + *
+ * Note we also include features of type "NMD_transcript_variant", although
+ * not strictly 'transcript' in the SO, as they used in Ensembl as if they
+ * were.
*/
@Override
- protected boolean identifiesSequence(SequenceFeature sf, String accId)
+ protected List