skbio.core.sequence.DNASequence.reverse_complement

DNASequence.reverse_complement()[source]

Return the reverse complement of the NucleotideSequence

Returns:

NucelotideSequence

The reverse 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.