common_alphabet#

biotite.sequence.common_alphabet(alphabets)[source]#

Determine the alphabet from a list of alphabets, that extends all alphabets.

Parameters:
alphabetsiterable of Alphabet

The alphabets from which the common one should be identified.

Returns:
common_alphabetAlphabet or None

The alphabet from alphabets that extends all alphabets. None if no such common alphabet exists.