Function reverse_complement

Source
pub fn reverse_complement(kmer: &str) -> String
Expand description

Reverse complement of a k-mer

§Arguments

  • kmer - A string representing the k-mer.

§Returns

A string containing the reverse complement of the k-mer.

§Panics

If the k-mer contains an unexpected character.