-
- //Hashtable scores = prediction.getScores();
-
- /* addFloatAnnotations(al, gapmap, (Vector)scores.get("JNETPROPH"),
- "JnetpropH", "Jnet Helix Propensity", 0f,1f,1);
-
- addFloatAnnotations(al, gapmap, (Vector)scores.get("JNETPROPB"),
- "JnetpropB", "Jnet Beta Sheet Propensity", 0f,1f,1);
-
- addFloatAnnotations(al, gapmap, (Vector)scores.get("JNETPROPC"),
- "JnetpropC", "Jnet Coil Propensity", 0f,1f,1);
+ if (!firstsol)
+ {
+ // add the solvent accessibility
+ annot = new AlignmentAnnotation(
+ "Jnet Burial",
+ "<html>Prediction of Solvent Accessibility<br/>levels are<ul><li>0 - Exposed</li><li>3 - 25% or more S.A. accessible</li><li>6 - 5% or more S.A. accessible</li><li>9 - Buried (<5% exposed)</li></ul>",
+ sol, 0f, 9f, AlignmentAnnotation.BAR_GRAPH);
+
+ annot.validateRangeAndDisplay();
+ if (seqRef != null)
+ {
+ annot.createSequenceMapping(seqRef, 1, true);
+ seqRef.addAlignmentAnnotation(annot);
+ }
+ al.addAnnotation(annot);
+ al.setAnnotationIndex(annot, al.getAlignmentAnnotation().length
+ - existingAnnotations - 1);
+ }
+ // Hashtable scores = prediction.getScores();
+
+ /*
+ * addFloatAnnotations(al, gapmap, (Vector)scores.get("JNETPROPH"),
+ * "JnetpropH", "Jnet Helix Propensity", 0f,1f,1);
+ *
+ * addFloatAnnotations(al, gapmap, (Vector)scores.get("JNETPROPB"),
+ * "JnetpropB", "Jnet Beta Sheet Propensity", 0f,1f,1);
+ *
+ * addFloatAnnotations(al, gapmap, (Vector)scores.get("JNETPROPC"),
+ * "JnetpropC", "Jnet Coil Propensity", 0f,1f,1);