* redundant information on the transcript sequence itself.
*/
@Override
- protected boolean retainFeature(String type)
+ protected boolean retainFeature(SequenceFeature sf, String accessionId)
{
- return !SequenceOntology.getInstance().isA(type,
- SequenceOntology.TRANSCRIPT);
+ if (SequenceOntology.getInstance().isA(sf.getType(),
+ SequenceOntology.TRANSCRIPT))
+ {
+ return false;
+ }
+ return super.retainFeature(sf, accessionId);
}
/**