Function bio::alignment::sparse::hash_kmers

source ·
pub fn hash_kmers(seq: &[u8], k: usize) -> HashMapFx<&[u8], Vec<u32>>
Expand description

Creates a HashMap containing all the k-mers in the sequence. FxHasher is used as the hash function instead of the inbuilt one. A good rolling hash function should speed up the code.