skbio.sequence.DNASequence.__str__

DNASequence.__str__()[source]

The str operator

Returns:

str

String representation of the BiologicalSequence. This will be the full sequence, but will not contain information about the type, identifier, description, or quality scores.

Examples

>>> from skbio.sequence import BiologicalSequence
>>> s = BiologicalSequence('GGUC')
>>> str(s)
'GGUC'
>>> print(s)
GGUC