TabularMSA.__contains__(label)[source]¶Determine if an index label is in this MSA.
State: Experimental as of 0.4.1.
| Parameters: | label : hashable
|
|---|---|
| Returns: | bool
|
Examples
>>> from skbio import DNA, TabularMSA
>>> msa = TabularMSA([DNA('ACG'), DNA('AC-')], index=['l1', 'l2'])
>>> 'l1' in msa
True
>>> 'l2' in msa
True
>>> 'l3' in msa
False