skbio.sequence.DNA.__str__

DNA.__str__()[source]

Return sequence characters as a string.

State: Stable as of 0.4.0.

Returns:

str

Sequence characters as a string. No metadata or positional metadata will be included.

See also

sequence

Examples

>>> from skbio import Sequence
>>> s = Sequence('GGUCGUAAAGGA', metadata={'id':'hello'})
>>> str(s)
'GGUCGUAAAGGA'