+ float value = ann.value;
+ boolean matched = false;
+
+ /*
+ * filter may have multiple conditions -
+ * these are or'd until a match is found
+ */
+ if (ann_row.graph == AlignmentAnnotation.CUSTOMRENDERER)
+ {
+ if (ann_row.sequenceRef != null)
+ {
+ int cpos = ann_row.sequenceRef.findPosition(column) - 1;
+ ContactListI clist = ann_row.sequenceRef
+ .getContactListFor(ann_row, cpos);
+ ContactRange crange = clist.getRangeFor(0,
+ clist.getContactHeight());
+ value = (float) crange.getMean();
+ }
+ }