JAL-2674 Rewrote propagateInsertions
[jalview.git] / src / jalview / datamodel / SequenceI.java
index 6e6d1aa..c1687fe 100755 (executable)
@@ -222,6 +222,13 @@ public interface SequenceI extends ASequenceI
   public int[] gapMap();
 
   /**
+   * Build a bitset corresponding to sequence gaps
+   * 
+   * @return a BitSet where set values correspond to gaps in the sequence
+   */
+  public BitSet gapBitset();
+
+  /**
    * Returns an int array where indices correspond to each position in sequence
    * char array and the element value gives the result of findPosition for that
    * index in the sequence.