Related Experiment Video
Updated: Aug 25, 2026

Molecular Evolution of the Tre Recombinase
Published on: May 29, 2008
RSHash: a fast and space-efficient hash table for k-mers
Jonas Schulte-Mattler1, Knut Reinert1,2
1Institutfür Informatik, Freie Universität Berlin, Berlin 14195, Germany.
Summary:
Large genomic data collections can be viewed as a continuous string of DNA characters. The essential operations for data structures indexing the k-mer content of such a string are lookup and locate. Lookup determines whether a query k-mer q exists in the string and locate returns all locations in the string where q is present. High-throughput DNA sequencing generates very many k-mer sets of size exceeding billions of characters. In such scenarios, memory consumption and query efficiency pose significant challenges to a data structure supporting the above mentioned queries. To address this problem, we describe a simple, compressed, static data structure for k-mers that answers lookup and can be extended for supporting locate. The general scheme follows the use of minimizers like the state-of-the art SSHash. However, instead of using minimum perfect hash functions our solution (RSHash for Rank-Select Hash) relies on bitvectors with rank and select support, a multiple layered minimizer scheme, and a clever buffering strategy. We can show that RSHash is on average 40% and in some cases up to two times faster than SSHash while having the same memory requirements. Indeed we can go as low as 8 bits per canonical 31-mer on a human dataset.
Availability:
https://github.com/jonsmcode/rshash.
Related Concept Videos
Mismatch Repair
The Mutator Protein Family Plays a Key Role in DNA Mismatch Repair
The human genome has more than 3 billion base pairs of DNA per cell. Prior to cell division, that vast amount of genetic...
Mismatch Repair
¹H NMR of Conformationally Flexible Molecules: Temporal Resolution
Conservative Site-specific Recombination and Phase Variation
The recognition sites for Cre recombinase called LoxP...