- /**
- * Hide columns not containing 'exon' features, provided there are exon
- * features on the alignment
- *
- * @param af
- */
- public void hideIntronsIfPresent(AlignFrame af)
- {
- boolean hasExons = af.avc.markColumnsContainingFeatures(false, false,
- false,
- SequenceOntologyI.EXON);
- if (hasExons)
- {
- af.avc.markColumnsContainingFeatures(true, false, true,
- SequenceOntologyI.EXON);
- af.getViewport().hideSelectedColumns();
- }
- }
-