skbio.core.sequence.BiologicalSequence.unsupported_characters

BiologicalSequence.unsupported_characters()[source]

Return the set of unsupported characters in the BiologicalSequence

Returns:

set

Invalid characters in the BiologicalSequence (i.e., the characters that are present in the BiologicalSequence but which are not in BiologicalSequence.alphabet or BiologicalSequence.gap_alphabet.