Merge branch 'develop' into features/JAL-2446NCList
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 5 Jun 2017 07:52:40 +0000 (08:52 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 5 Jun 2017 07:52:40 +0000 (08:52 +0100)
Conflicts:
src/jalview/datamodel/SequenceI.java

1  2 
src/jalview/datamodel/Sequence.java
src/jalview/datamodel/SequenceI.java
src/jalview/ext/ensembl/EnsemblGene.java
src/jalview/gui/PopupMenu.java
test/jalview/datamodel/SequenceTest.java

Simple merge
@@@ -20,8 -20,7 +20,9 @@@
   */
  package jalview.datamodel;
  
 +import jalview.datamodel.features.SequenceFeaturesI;
 +
+ import java.util.BitSet;
  import java.util.List;
  import java.util.Vector;
  
@@@ -510,14 -479,9 +511,21 @@@ public interface SequenceI extends ASeq
    public List<DBRefEntry> getPrimaryDBRefs();
  
    /**
 +   * Returns a (possibly empty) list of sequence features that overlap the range
 +   * from-to (inclusive), optionally restricted to one or more specified feature
 +   * types
 +   * 
 +   * @param from
 +   * @param to
 +   * @param types
 +   * @return
 +   */
 +  List<SequenceFeature> findFeatures(int from, int to, String... types);
++  
++  /**
+    * 
+    * @return BitSet corresponding to index [0,length) where Comparison.isGap()
+    *         returns true.
+    */
+   BitSet getInsertionsAsBits();
  }
Simple merge