Function nthash::nthash[][src]

pub fn nthash(seq: &[u8], ksize: usize) -> Vec<u64>

Takes a sequence and ksize and returns the canonical hashes for each k-mer in a Vec. This doesn't benefit from the rolling hash properties of ntHash, serving more for correctness check for the NtHashIterator.