+ /**
+ * An enum for auto-calculated annotations, with constants for the
+ * annotation's label, and the key for the property to show it or not
+ */
+ public enum AutoAnnotation
+ {
+ CONSERVATION("Conservation", "SHOW_CONSERVATION"),
+ QUALITY("Quality", "SHOW_QUALITY"),
+ CONSENSUS("Consensus", "SHOW_IDENTITY"),
+ CDNA_CONSENSUS("cDNA Consensus", null),
+ STRUCTURE_CONSENSUS("StrucConsensus", null),
+ OCCUPANCY("Occupancy", "SHOW_OCCUPANCY");
+
+ public final String label;
+ public final String preferenceKey;
+
+ private AutoAnnotation(String lbl, String prefKey)
+ {
+ this.label = lbl;
+ this.preferenceKey = prefKey;
+ }
+ }
+