Related Experiment Video
Updated: Nov 10, 2025

Curation of Computational Chemical Libraries Demonstrated with Alpha-Amino Acids
Published on: April 13, 2022
BLight: efficient exact associative structure for k-mers
Camille Marchet1, Mael Kerbiriou1, Antoine Limasset1
1University of Lille, CRIStAL CNRS, UMR 9189 - F-59000 Lille, France.
Motivation:
A plethora of methods and applications share the fundamental need to associate information to words for high-throughput sequence analysis. Doing so for billions of k-mers is commonly a scalability problem, as exact associative indexes can be memory expensive. Recent works take advantage of overlaps between k-mers to leverage this challenge. Yet, existing data structures are either unable to associate information to k-mers or are not lightweight enough.
Results:
We present BLight, a static and exact data structure able to associate unique identifiers to k-mers and determine their membership in a set without false positive that scales to huge k-mer sets with a low memory cost. This index combines an extremely compact representation along with very fast queries. Besides, its construction is efficient and needs no additional memory. Our implementation achieves to index the k-mers from the human genome using 8 GB of RAM (23 bits per k-mer) within 10 min and the k-mers from the large axolotl genome using 63 GB of memory (27 bits per k-mer) within 76 min. Furthermore, while being memory efficient, the index provides a very high throughput: 1.4 million queries per second on a single CPU or 16.1 million using 12 cores. Finally, we also present how BLight can practically represent metagenomic and transcriptomic sequencing data to highlight its wide applicative range.
Availability And Implementation:
We wrote the BLight index as an open source C++ library under the AGPL3 license available at github.com/Malfoy/BLight. It is designed as a user-friendly library and comes along with code usage samples.
Related Concept Videos
Structure of Benzene: Kekulé Model
He proposed that benzene has a cyclic structure of six carbon atoms attached to one hydrogen atom each, with three alternating pi bonds.
Structures of Aldehydes and Ketones
In aldehydes (Figures 1a and 1b), the...
Resonance and Hybrid Structures
Resonance Structures and Resonance Hybrids
The Lewis structure of a nitrite anion (NO2−) may actually be drawn in two different ways, distinguished by the locations of the N–O and N=O bonds.
Nucleic Acid Structure
DNA Structure
DNA...
Structure of Alkanes
Hydrocarbons are the simplest organic compounds composed of carbons and hydrogens. Based on the bond order between carbons, the hydrocarbons are further classified into alkanes, alkenes, and alkynes.
Alkanes are the simplest hydrocarbons with sp3 hybrid carbon atoms....
Isomerism in Alkenes
An isomer is called cis-2-butene when the methyl groups are on the same side of the double bond, and the other stereoisomer, in which methyl groups are on the opposite side of the double bond, is called trans-2-butene. The cis and trans stereoisomers are not...

