+ // update annotation with data from contact map
+ annotation.graphMin = cm.getMin();
+ annotation.graphMax = cm.getMax();
+ annotation.editable = false;
+ annotation.graph = AlignmentAnnotation.CONTACT_MAP;
+ annotation.calcId = cm.getType();
+ if (annotation.label == null || "".equals(annotation.label))
+ {
+ annotation.label = cm.getAnnotLabel();
+
+ }
+ if (annotation.description == null || "".equals(annotation.description))
+ {
+ annotation.description = cm.getAnnotDescr();
+ }