Function fasten_kmer::kmers_in_str

source ·
pub(crate) fn kmers_in_str(
    seq: &str,
    kmer_length: usize,
    should_revcomp: bool
) -> HashMap<String, u32>
Expand description

Read a str of nucleotides and count kmers. If should_revcomp is true, then will also count kmers on the opposite strand.