TabularMSA.
__deepcopy__
(memo)[source]¶Return a deep copy of this MSA.
State: Experimental as of 0.4.1.
Returns: | Deep copy of this MSA. Sequence objects will be deep-copied. |
---|---|
Return type: | TabularMSA |
See also
Examples
>>> import copy
>>> from skbio import DNA, TabularMSA
>>> msa = TabularMSA([DNA('ACG'), DNA('AC-')])
>>> msa_copy = copy.deepcopy(msa)
>>> msa_copy == msa
True
>>> msa_copy is msa
False