skbio.core.sequence.RNASequence.is_reverse_complement

RNASequence.is_reverse_complement(other)[source]

Return True if other is the reverse complement of self

Returns:

bool

True if other is the reverse complement of self and False otherwise.

Raises:

skbio.core.exception.BiologicalSequenceError

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