BioinformaticsBioinformaticsPeer-reviewed journal article
k-nonical space: sketching with reverse complements
Abstract
Sequences equivalent to their reverse complements (i.e., double-stranded DNA) have no analogue in text analysis and non-biological string algorithms. Despite this striking difference, algorithms designed for computational biology (e.g., sketching algorithms) are designed and tested in the same way as classical string algorithms. Then, as a post-processing step, these algorithms are adapted to work with genomic sequences by folding a k-mer and its reverse complement into a single sequence: the canonical representation (k-nonical space). The effect of using the canonical representation with sketching methods is understudied and not understood. As a first step, we use context-free sketching methods to illustrate the potentially detrimental effects of using canonical k-mers with string algorithms not designed to accommodate for them. In particular, we show that large stretches of the genome ("sketching deserts") are undersampled or entirely skipped by context-free sketching methods, effectively making these genomic regions invisible to subsequent algorithms using these sketches. We provide empirical data showing these effects and develop a theoretical framework explaining the appearance of sketching deserts. Finally, we propose two schemes to accommodate for these effects: (1) a new procedure that adapts existing sketching methods to k-nonical space and (2) an optimization procedure to directly design new sketching methods for k-nonical space. The code used in this analysis is freely available at https://github.com/Kingsford-Group/mdsscope.
- assay: DNA methylation
- assay: whole-genome sequencing
- research focus: benchmarking
- approach: statistical model
- Citations
- 6
- FWCI
- 0.88
- Field percentile
- top 25%
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
- Dashing 2: genomic sketching with multiplicities and locality-sensitive hashing
Daniel N. Baker, Ben Langmead·Genome ResearchPeer-reviewed·Jul 6, 2023
- General encoding of canonical k-mers
Roland Wittler·Peer Community JournalPeer-reviewed·Sep 20, 2023
- MaxGeomHash: An Algorithm for Variable-Size Random Sampling of Distinct Elements
Mahmudur Rahman Hera, David Koslicki, Conrado Martı́nez·bioRxiv·Nov 11, 2025
- Sequences Dimensionality-Reduction by K-mer Substring Space Sampling Enables Effective Resemblance- and Containment-Analysis for Large-Scale omics-data
Huiguang Yi, Yanling Lin, … Wenfei Jin·Genome biologyPeer-reviewed·Mar 16, 2021
- Set-Min sketch: a probabilistic map for power-law distributions with application to k-mer annotation
Yoshihiro Shibuya, Djamal Belazzougui, Grégory Kucherov·Journal of Computational BiologyPeer-reviewed·Jan 20, 2022
- Exact Sketch-Based Read Mapping
Tizian Schulz, Paul Medvedev·Algorithms for Molecular BiologyPeer-reviewed·May 4, 2024