TabularMSA.
__iter__
()[source]¶Iterate over sequences in the MSA.
State: Experimental as of 0.4.1.
Yields: | GrammaredSequence
|
---|
Examples
>>> from skbio import DNA, TabularMSA
>>> msa = TabularMSA([DNA('ACG'), DNA('AC-')])
>>> for seq in msa:
... str(seq)
'ACG'
'AC-'