skbio.sequence.DNA.complement_map

DNA.complement_map[source]

Return mapping of nucleotide characters to their complements.

State: Stable as of 0.4.0.

Returns:

dict

Mapping of each character to its complement.

Notes

Complements cannot be defined for a generic nucleotide sequence because the complement of A is ambiguous. Thanks, nature...