skbio.sequence.DNASequence.__reversed__

DNASequence.__reversed__()[source]

The reversed operator.

Returns:

iterator

Reverse position iterator for the BiologicalSequence.

Examples

>>> from skbio.sequence import BiologicalSequence
>>> s = BiologicalSequence('GGUC')
>>> for c in reversed(s): print(c)
C
U
G
G