The Gist of It Logo
🧬 Genomics & Life Sciences ★ Impact 8.9/10 arXiv:2611.37221v1 • November 30, 2026 • 1 min read
📄 arXiv Preprint • Not Peer-Reviewed ⚡ Abstract-Synthesized

A Lightning-Fast Way to Count DNA's Building Blocks

Original paper: MKC: Exact k-mer Counting into a Compact Cache-Line Cuckoo Index

Authors: Kamila Szewczyk

A new tool called MKC counts DNA fragments faster and uses a fraction of the memory of older methods.

"Imagine a massive sorting warehouse that first groups incoming packages into organized bins before packing them tightly into specialized storage lockers. When you need to find a specific package, a clever addressing system allows workers to open just one single locker door to retrieve it instantly."

As personalized medicine and genetic sequencing scale up to handle massive human genomes, analyzing DNA quickly is a major computational bottleneck. MKC drastically speeds up genome analysis while lowering hardware requirements, making large-scale genomics faster and more accessible for researchers worldwide.

  • Counts DNA k-mers faster than existing tools.
  • Fits a whole human genome index in just one gigabyte.
  • Performs random queries up to ten times faster.
📑 Original arXiv Technical Abstract

Querying the counts of individual k-mers is an essential step of assembly evaluation and metagenomic classification. Disk-based counters such as KMC 3 count in bounded memory but write sorted lists that are slow to query, whereas hash-based counters such as Hackgap hold large in-memory tables for all distinct k-mers. In this paper, we propose an exact canonical k-mer counter called MKC for k <= 32, which builds a static hash table of counts in the manner of a disk-based counter. MKC distributes the k-mers into bins by minimizer and counts each bin by sorting the hashes of its k-mers in cache. Subsequently, it assembles a two-choice cuckoo table of 64-byte buckets, in which each record stores a quotient of an invertible hash and a count field of variable width, and buckets of mostly unique k-mers store their quotients via Elias-Fano coding. We apply MKC on ten genomes and read sets. The results show that the index of a human genome takes 37.4-42.5 bits per distinct 31-mer, counts included, and that most lookups read one cache line. With 16 threads, MKC builds its index 1.6-8.0 times faster than KMC 3 and 5.6-42.4 times faster than Hackgap, indexes a human genome in 8.9 s with a peak resident set size of 1.0 GiB, and writes the smallest index of the compared counters. At equal page size, it answers random queries 5.0-11.7 times faster than KMC 3 and 1.8-3.3 times faster than Hackgap. For k-mers in sequence order, its batch interface is 1.6-8.5 times faster than Hackgap.

✍️ Are you an author of this paper? Add code/demo links or a note

Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.

𝕏 Share Your Paper's Gist on X

📬 Get daily Biotechnology breakthroughs in your inbox

We scan hundreds of daily arXiv preprints across 6 frontier fields and send the top breakthroughs in plain English—with everyday analogies and 1-click PhD briefs. Free forever.

More Curated Breakthroughs

Hand-picked from the November 30, 2026 edition.