JAL-2446 FeatureStore with NCList - work in progress
[jalview.git] / src / jalview / datamodel / SequenceI.java
index aec68ab..75394b1 100755 (executable)
@@ -468,4 +468,15 @@ public interface SequenceI extends ASequenceI
    *         list
    */
   public List<DBRefEntry> getPrimaryDBRefs();
+
+  /**
+   * Returns a (possibly empty) list of sequence features of the given type that
+   * overlap the range from-to (inclusive)
+   * 
+   * @param type
+   * @param from
+   * @param to
+   * @return
+   */
+  List<SequenceFeature> findFeatures(String type, int from, int to);
 }