bioRxivBioinformaticsPreprint
biHash: bisulfite-aware recursive nucleotide hashing
Abstract
Bisulfite sequencing (BS-seq) measures cytosine methylation on the DNA at single-base resolution, but converts unmethylated cytosines to thymines, disrupting conventional strand complementarity and reducing sequence complexity. These pose a fundamental challenge to efficient sequence comparison and indexing tasks. Although k-mer hashing is foundational to bioinformatics for enabling such high-throughput operations, generic algorithms for string hashing are poorly equipped to handle the reduced-complexity alphabet and sequence ambiguity created by this conversion. We therefore require fast k-mer hashing that directly recognizes bisulfite-compatible sequence states. Here, we present biHash, a rolling hash algorithm tailored for bisulfite-sequenced data. Using context-specific dinucleotide encodings, biHash maps designated bisulfite-compatible sequence variants to the same hash value while retaining context-specific specificity. When hashing adjacent k-mers, biHash performs ~13 times faster than generic string hashing algorithms.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- aaHash: recursive amino acid sequence hashing
Johnathan Wong, Parham Kazemi, … İnanç Birol·Bioinformatics AdvancesPeer-reviewed·Jan 1, 2023
- Optimizing sparse and skew hashing: faster k-mer dictionaries
Giulio Ermanno Pibiri, Rob Patro·BioinformaticsPeer-reviewed·Jul 1, 2026
- BiSulfite Bolt: A BiSulfite Sequencing Analysis Platform
Colin P. Farrell, Michael James Thompson, … Matteo A. Pellegrini·GigaSciencePeer-reviewed·May 1, 2021
- Fast and memory-efficient mapping of short bisulfite sequencing reads using a two-letter alphabet
Guilherme De Sena Brandine, Andrew D. Smith·NAR Genomics and BioinformaticsPeer-reviewed·Oct 4, 2021
- ARYANA-BS: Context-Aware Alignment of Bisulfite-Sequencing Reads
Hassan Nikaein, Ali Sharifi‐Zarchi, … Govindarajan Kunde‐Ramamoorthy·BMC BioinformaticsPeer-reviewed·Jul 21, 2025
- Efficient Seeding for Error-Prone Sequences with SubseqHash2
Xiang Li, Ke Chen, Mingfu Shao·BioinformaticsPeer-reviewed·Jul 23, 2025