skbio.sequence.RNA.nondegenerates

RNA.nondegenerates()[source]

Find positions containing non-degenerate characters in the sequence.

Note

Deprecated as of 0.5.0 for removal in 0.6.0. Renamed to definites

Returns

Boolean vector where True indicates a non-degenerate character is present at that position in the biological sequence.

Return type

1D np.ndarray (bool)

Examples

>>> from skbio import DNA
>>> s = DNA('ACWGN')
>>> s.nondegenerates()
array([ True,  True, False,  True, False], dtype=bool)