Protein.
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
Boolean vector where True
indicates a non-degenerate character
is present at that position in the biological sequence.
1D np.ndarray (bool)
See also
Examples
>>> from skbio import DNA
>>> s = DNA('ACWGN')
>>> s.nondegenerates()
array([ True, True, False, True, False], dtype=bool)