skbio.alignment.TabularMSA.__reversed__#
- TabularMSA.__reversed__()[source]#
Iterate in reverse order over sequences in the MSA.
- Yields:
- GrammaredSequence
Each sequence in reverse order from how they are stored in the MSA.
Examples
>>> from skbio import DNA, TabularMSA >>> msa = TabularMSA([DNA('ACG'), DNA('AC-')]) >>> for seq in reversed(msa): ... str(seq) 'AC-' 'ACG'