* @param i
*/
public void addAnnotation(AlignmentAnnotation consensus, int i);
+
+ /**
+ * search for or create a specific annotation row on the alignment
+ *
+ * @param method - CalcId for the annotation (must match)
+ * @param autoCalc - value of autocalc flag for the annotation
+ * @param seqRef - null or specific sequence reference
+ * @param groupRef - null or specific group reference
+ * @return existing annotation matching the given attributes
+ */
+ public AlignmentAnnotation findOrCreateAnnotation(String name, boolean autoCalc,
+ SequenceI seqRef, SequenceGroup groupRef);
}