Related Experiment Video
Updated: Feb 28, 2026

Heuristic Mining of Hierarchical Genotypes and Accessory Genome Loci in Bacterial Populations
Published on: December 7, 2021
k ache-hash: A dynamic, concurrent, and cache-efficient hash table for streaming k -mer operations
Motivation:
Hash tables are fundamental to computational genomics, where keys are often k -mers-fixed-length substrings that exhibit a "streaming" property: consecutive k -mers share k-1 nucleotides and are processed in order. Existing static data structures exploit this locality but cannot support dynamic updates, while state-of-the-art concurrent hash tables support dynamic operations but ignore k -mer locality.
Results:
We introduce k ache-hash , the first dynamic, concurrent, and resizable hash table that exploits k -mer locality. k ache-hash builds on Iceberg hashing-a multi-level design achieving stability and low associativity-but replaces generic hashing with minimizer-based hashing, ensuring that consecutive k -mers map to the same buckets. This keeps frequently accessed buckets cache-resident during streaming operations. On the human genome, k ache-hash achieves 1.58-2.62× higher insertion throughput than IcebergHT and up to 6.1× higher query throughput, while incurring 7.39× fewer cache misses. k ache-hash scales near-linearly to 16 threads and supports dynamic resizing without sacrificing locality. Our theoretical analysis proves that streaming k -mer operations achieve 𝒪(1/r) amortized cache misses per operation, where r is the minimizer run length, explaining the substantial performance gains over general-purpose hash tables.
Availability:
k ache-hash is implemented in C++20 and is available at https://github.com/jamshed/kache-hash .
Contact:
p.pandey@northeastern.edu.
Supplementary Information:
Supplementary material are available for this manuscript.
Related Concept Videos
Maximum Size of Aggregate
Parallel Processing
Stream Function
Extraction: Partition and Distribution Coefficients
For extracting a solute from an aqueous phase into an...
Multi-species Conserved Sequences
Although the genome of each species varies greatly from each other, a few sequences are highly conserved. Such conserved...
Rapidly Varying Flow