Fork me on GitHub"

# skbio.sequence.DNA.__reversed__

DNA.__reversed__()

  Iterate over positions in this sequence in reverse order.

  State: Stable as of 0.4.0.

  Yields

    Sequence – Single character subsequence, one for each position in the sequence.

  Examples

      >>> from skbio import Sequence
      >>> s = Sequence('GGUC')
      >>> for c in reversed(s):
      ...     str(c)
      'C'
      'U'
      'G'
      'G'