skbio.sequence.RNA.has_definites

RNA.has_definites()[source]

Determine if sequence contains one or more definite characters

State: Stable as of 0.5.0.

Returns

Indicates whether there are one or more occurrences of definite characters in the biological sequence.

Return type

bool

Examples

>>> from skbio import DNA
>>> s = DNA('NWNNNNNN')
>>> s.has_definites()
False
>>> t = DNA('ANCACWWGACGTT')
>>> t.has_definites()
True