X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=19b5b1c25859352069826179e8e5f855e6145ca3;hb=c16afbb4d0e2672fdc54d32778b6d53f09c5d86c;hp=59610b36709eb25d433f06c268ee06ed257666f3;hpb=20403dbf83a2caa650a4ccd37f5a6dae7d0bd0f3;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index 59610b3..19b5b1c 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -61,6 +61,13 @@ public interface AlignmentI public Vector getSequences(); /** + * Gets sequences as a SequenceI[] + * + * @return All sequences in alignment. + */ + public SequenceI [] getSequencesArray(); + + /** * Find a specific sequence in this alignment. * * @param i Index of required sequence. @@ -154,15 +161,6 @@ public interface AlignmentI */ public void removeGaps(); - /** - * Removes redundant sequences from alignment. - * - * @param threshold Remove all sequences above the given threshold. - * @param sel Set of sequences which will have redundant sequences removed from. - * - * @return All sequences below redundancy threshold. - */ - public Vector removeRedundancy(float threshold, Vector sel); /** * Finds group that sequence at index i in alignment is part of. @@ -219,34 +217,15 @@ public interface AlignmentI */ public void deleteAllGroups(); - /** - * Adds a super group. A SuperGroup is a group of groups. - * - * @param sg Adds a new SuperGroup to alignment - */ - public void addSuperGroup(SuperGroup sg); - - /** - * Removes SuperGroup from alignment. - * - * @param sg This SuperGroup will be deleted from alignment. - */ - public void removeSuperGroup(SuperGroup sg); - - /** - * Finds any SuperGroup that a given SequenceGroup may be part of. - * - * @param sg SequenceGroup to search for. - * - * @return SuperGroup that contains the given SequenceGroup. - */ - public SuperGroup getSuperGroup(SequenceGroup sg); /** * Adds a new AlignmentAnnotation to this alignment */ public void addAnnotation(AlignmentAnnotation aa); + + public void setAnnotationIndex(AlignmentAnnotation aa, int index); + /** * Deletes a specific AlignmentAnnotation from the alignment. * @@ -306,5 +285,8 @@ public interface AlignmentI */ public boolean padGaps(); + public void adjustSequenceAnnotations(); + + public HiddenSequences getHiddenSequences(); }