skbio.sequence.DNA.__str__#

DNA.__str__()[source]#

Return sequence characters as a string.

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'