skbio.sequence.Protein.has_nondegenerates¶
-
Protein.
has_nondegenerates
()[source]¶ Determine if sequence contains one or more non-degenerate characters
Note
Deprecated as of 0.5.0 for removal in 0.6.0. Renamed to has_definites
- Returns
Indicates whether there are one or more occurrences of non-degenerate characters in the biological sequence.
- Return type
See also
Examples
>>> from skbio import DNA >>> s = DNA('NWNNNNNN') >>> s.has_nondegenerates() False >>> t = DNA('ANCACWWGACGTT') >>> t.has_nondegenerates() True