skbio.sequence.RNA.has_nondegenerates#
- RNA.has_nondegenerates()[source]#
Determine if sequence contains one or more non-degenerate characters.
- Returns:
- bool
Indicates whether there are one or more occurrences of non-degenerate characters in the biological sequence.
Warning
has_nondegenerates
is deprecated as of0.5.0
. It has been renamed tohas_definites
.See also
Examples
>>> from skbio import DNA >>> s = DNA('NWNNNNNN') >>> s.has_nondegenerates() False >>> t = DNA('ANCACWWGACGTT') >>> t.has_nondegenerates() True