JAL-1620 version bump and release notes
[jalview.git] / src / jalview / datamodel / SequenceI.java
index 2e68371..64a57ba 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
  * Copyright (C) 2014 The Jalview Authors
  * 
  * This file is part of Jalview.
@@ -21,6 +21,7 @@
 package jalview.datamodel;
 
 import java.util.List;
+import java.util.Vector;
 
 import fr.orsay.lri.varna.models.rna.RNA;
 
@@ -136,10 +137,12 @@ public interface SequenceI
    * create a new sequence object from start to end of this sequence
    * 
    * @param start
-   *          int
+   *          int index for start position
    * @param end
-   *          int
+   *          int index for end position
+   * 
    * @return SequenceI
+   * @note implementations may use getSequence to get the sequence data
    */
   public SequenceI getSubSequence(int start, int end);
 
@@ -188,7 +191,7 @@ public interface SequenceI
    * Returns the sequence position for an alignment position
    * 
    * @param i
-   *          column index in alignment (from 1)
+   *          column index in alignment (from 0..<length)
    * 
    * @return residue number for residue (left of and) nearest ith column
    */
@@ -314,6 +317,8 @@ public interface SequenceI
 
   public AlignmentAnnotation[] getAnnotation();
 
+  public boolean hasAnnotation(AlignmentAnnotation ann);
+
   public void addAlignmentAnnotation(AlignmentAnnotation annotation);
 
   public void removeAlignmentAnnotation(AlignmentAnnotation annotation);