- //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);
+ 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);