skbio.core.sequence.NucleotideSequence.complement_map

classmethod NucleotideSequence.complement_map()[source]

Return the mapping of characters to their complements.

Returns:

dict

Mapping of characters to their complements.

Notes

Complements cannot be defined for a generic NucleotideSequence because the complement of ‘A’ is ambiguous. NucleotideSequence.complement_map will therefore be the empty dict. Thanks, nature...