skbio.core.sequence.DNASequence.__iter__

DNASequence.__iter__()[source]

The iter operator.

Returns:

iterator

Position iterator for the BiologicalSequence.

Examples

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