X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=dd58b3176a22353d21f58543b99e0b693a3b434d;hb=bd4ab013e64863bbbffa93c58953051e11cfb236;hp=58df1b0573df844a80dc80ce4edad7d3bc00ac5f;hpb=88141010d441b5fa5fcf43bb3dcbecbbc1721139;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index 58df1b0..dd58b31 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -580,19 +580,26 @@ public interface AlignmentI extends AnnotatedCollectionI */ AlignedCodonFrame getMapping(SequenceI mapFrom, SequenceI mapTo); + public void setHiddenColumns(HiddenColumns cols); + /** - * Calculate the visible start and end index of an alignment. The result is - * returned an int array where: int[0] = startIndex, and int[1] = endIndex. + * Returns all HMM consensus sequences. * - * @param hiddenCols + * @param remove + * If true, remove all HMM consensus sequences from the alignment. * @return */ - public int[] getVisibleStartAndEndIndex(List hiddenCols); - - public void setHiddenColumns(HiddenColumns cols); - public List getHMMConsensusSequences(boolean remove); - + + /** + * Insert a sequence at a position in an alignment + * + * @param i + * The idnex of the position. + * @param snew + * The new sequence. + */ + void insertSequenceAt(int i, SequenceI snew);