skbio.core.sequence.RNASequence.complement

RNASequence.complement()[source]

Return the complement of the NucleotideSequence

Returns:

NucelotideSequence

The complement of self. Specific type will be the same as type(self).

Raises:

skbio.core.exception.BiologicalSequenceError

If a character is present in the NucleotideSequence that is not in self.complement_map.