AlignedCodonFrame getMapping(SequenceI mapFrom, SequenceI mapTo);
/**
- * Set the hidden columns collection on the alignment
+ * Set the hidden columns collection on the alignment. Answers true if the
+ * hidden column selection changed, else false.
*
* @param cols
+ * @return
*/
- public void setHiddenColumns(HiddenColumns cols);
+ public boolean setHiddenColumns(HiddenColumns cols);
/**
* Set the first sequence as representative and hide its insertions. Typically
public HiddenColumns propagateInsertions(SequenceI profileseq,
AlignmentView input);
+ /**
+ * Returns a map whose key is a sequence in the alignment, and value the
+ * position (0, 1, 2...) of the sequence
+ *
+ * @return
+ */
+ Map<SequenceI, Integer> getSequencePositions();
+
}