X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FSequenceI.java;h=5c15108524ec5110913f0d67c9ee0a5aca4d58a2;hb=a96d51f58325f8429c5792ae554243de5628d62a;hp=dd92c7092903e428463137bd628586dc9294adb1;hpb=6e4e761693d6c876ae621e31c6cbd4f20c83f6a3;p=jalview.git diff --git a/src/jalview/datamodel/SequenceI.java b/src/jalview/datamodel/SequenceI.java index dd92c70..5c15108 100755 --- a/src/jalview/datamodel/SequenceI.java +++ b/src/jalview/datamodel/SequenceI.java @@ -182,10 +182,11 @@ public interface SequenceI public int[] gapMap(); /** - * DOCUMENT ME! + * Delete a range of aligned sequence columns, creating a new dataset sequence if necessary + * and adjusting start and end positions accordingly. * - * @param i DOCUMENT ME! - * @param j DOCUMENT ME! + * @param i first column in range to delete + * @param j last column in range to delete */ public void deleteChars(int i, int j); @@ -243,6 +244,12 @@ public interface SequenceI public DBRefEntry[] getDBRef(); + /** + * add the given entry to the list of DBRefs for this sequence, + * or replace a similar one if entry contains a map object + * and the existing one doesnt. + * @param entry + */ public void addDBRef(DBRefEntry entry); public void addSequenceFeature(SequenceFeature sf); @@ -269,5 +276,11 @@ public interface 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); }