X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FSequenceI.java;h=64a21dd44919f5961a2af6f9e44d11ef423855e0;hb=50a8dcccc09f983c21f0c9a8a3653c379c348a4b;hp=6694aff1b631992c3a7f7cc6cadfaec0055b1f23;hpb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;p=jalview.git diff --git a/src/jalview/datamodel/SequenceI.java b/src/jalview/datamodel/SequenceI.java index 6694aff..64a21dd 100755 --- a/src/jalview/datamodel/SequenceI.java +++ b/src/jalview/datamodel/SequenceI.java @@ -257,10 +257,23 @@ public interface SequenceI public void addAlignmentAnnotation(AlignmentAnnotation annotation); + public void removeAlignmentAnnotation(AlignmentAnnotation annotation); + /** * Derive a sequence (using this one's dataset or as the dataset) * @return duplicate sequence with valid dataset sequence */ public SequenceI deriveSequence(); + /** + * set the array of associated AlignmentAnnotation for this sequenceI + * @param revealed + */ + public void setAlignmentAnnotation(AlignmentAnnotation[] annotation); + /** + * Get one or more alignment annotations with a particular label. + * @param label string which each returned annotation must have as a label. + * @return null or array of annotations. + */ + public AlignmentAnnotation[] getAnnotation(String label); }