GrammaredSequence.
gaps
()[source]¶Find positions containing gaps in the biological sequence.
State: Stable as of 0.4.0.
Returns: | 1D np.ndarray (bool)
|
---|
See also
Examples
>>> from skbio import DNA
>>> s = DNA('AC-G-')
>>> s.gaps()
array([False, False, True, False, True], dtype=bool)