skbio.sequence.Protein.definites¶
-
Protein.
definites
()[source]¶ Find positions containing definite characters in the sequence.
State: Stable as of 0.5.0.
- Returns
Boolean vector where
True
indicates a definite character is present at that position in the biological sequence.- Return type
1D np.ndarray (bool)
See also
Examples
>>> from skbio import DNA >>> s = DNA('ACWGN') >>> s.definites() array([ True, True, False, True, False], dtype=bool)