1 package jalview.datamodel.annotations;
3 import jalview.datamodel.Annotation;
4 import jalview.structure.StructureImportSettings;
5 import jalview.structure.StructureImportSettings.TFType;
7 public class AlphaFoldAnnotationRowBuilder extends AnnotationRowBuilder
9 public static final String LABEL = "Alphafold Reliability";
11 public AlphaFoldAnnotationRowBuilder()
17 this.setTFType(StructureImportSettings.TFType.PLDDT);
21 public void processAnnotation(Annotation annotation)
23 if (annotation.value > 90)
26 annotation.colour = new java.awt.Color(0, 83, 214);
28 if (annotation.value <= 90)
31 annotation.colour = new java.awt.Color(101, 203, 243);
33 if (annotation.value <= 70)
36 annotation.colour = new java.awt.Color(255, 219, 19);
38 if (annotation.value < 50)
40 annotation.colour = new java.awt.Color(255, 125, 69);