*/
package jalview.schemes;
-import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AnnotatedCollectionI;
import jalview.datamodel.SequenceCollectionI;
import jalview.datamodel.SequenceI;
{
return JalviewColourScheme.Blosum62.toString();
}
-
- /**
- * Answers true if Conservation annotation is present, else false
- */
- @Override
- public boolean isApplicableTo(AnnotatedCollectionI ac)
- {
- AlignmentAnnotation[] anns = ac.getAlignmentAnnotation();
- if (anns == null)
- {
- return false;
- }
- for (AlignmentAnnotation ann : anns)
- {
- if ("Conservation".equals(ann.label))
- {
- return true;
- }
- }
- return false;
- }
}