skbio.core.sequence.RNASequence.__len__

RNASequence.__len__()[source]

The len operator.

Returns:

int

The length of the BiologicalSequence.

Examples

>>> from skbio.core.sequence import BiologicalSequence
>>> s = BiologicalSequence('GGUC')
>>> len(s)
4