skbio.core.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, or self.id or self.description.

Examples

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