Function canonicalize_kmer

Source
pub fn canonicalize_kmer(kmer: &[u8]) -> Vec<u8> 
Expand description

Get the canonical (lexicographically-lowest) version of a k-mer.

§Arguments

  • kmer - A slice representing the k-mer.

§Returns

A vector containing the canonical k-mer.