MerKurio: sequence extraction and annotation based on matching k-mers
Abstract
K-mers, short subsequences of length k, play an important role in computational analyses using biological sequence data. A critical downstream processing step involves getting back to the source sequences of selected k-mers for further analysis or validation. Here, we present MerKurio, a high-performance command line tool written in Rust with two main functionalities: 1) extracting sequence records from FASTA/FASTQ files using k-mers and 2) annotating or filtering aligned sequences in SAM/BAM files with k-mer tags. The tool automatically selects the pattern matching algorithm via empirically derived rules based on query characteristics and supports paired-end reads, compressed input files, and reverse complement searching. Benchmark comparisons demonstrate that MerKurio outperforms existing tools in terms of speed while providing additional utility including detailed matching statistics and comprehensive file format support. MerKurio is a fast and user-friendly tool for sequence record extraction and tagging of aligned sequences based on k-mers. MerKurio is freely available at https://github.com/lschoenm/MerKurio.
Related
- From neuropeptide and receptor annotation to ligand-receptor pairing: a sequence- and structure-based framework for mapping the neuropeptide-receptor interactome in Gryllus bimaculatus
- QLoRA Fine-Tuning of Ministral LLM for Sequence-to-Function Protein Annotation
- Reading Between the Reads: A Decade On, Revisiting Sequencing Protocol Annotation in the Sequence Read Archive
- Rapid whole genome- and annotation-based multilocus sequence typing of the fungal pathogen Histoplasma capsulatum
- RiboDFM: Robust RNA sequence design using backbone-conditioned discrete flow matching
BibTeX
@misc{schonmann2026merkurio,
title = {{MerKurio: sequence extraction and annotation based on matching k-mers}},
author = {Lukas Schönmann and Heinz Himmelbauer and Juliane C. Dohm},
howpublished = {arXiv},
year = {2026},
month = sep,
doi = {10.48550/arxiv.2609.39830},
eprint = {2609.39830},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2609.39830},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - MerKurio: sequence extraction and annotation based on matching k-mers
AU - Lukas Schönmann
AU - Heinz Himmelbauer
AU - Juliane C. Dohm
PY - 2026
DA - 2026/09/30
PB - arXiv
DO - 10.48550/arxiv.2609.39830
UR - https://arxiv.org/abs/2609.39830
AB - K-mers, short subsequences of length k, play an important role in computational analyses using biological sequence data. A critical downstream processing step involves getting back to the source sequences of selected k-mers for further analysis or validation. Here, we present MerKurio, a high-performance command line tool written in Rust with two main functionalities: 1) extracting sequence records from FASTA/FASTQ files using k-mers and 2) annotating or filtering aligned sequences in SAM/BAM files with k-mer tags. The tool automatically selects the pattern matching algorithm via empirically derived rules based on query characteristics and supports paired-end reads, compressed input files, and reverse complement searching. Benchmark comparisons demonstrate that MerKurio outperforms existing tools in terms of speed while providing additional utility including detailed matching statistics and comprehensive file format support. MerKurio is a fast and user-friendly tool for sequence record extraction and tagging of aligned sequences based on k-mers. MerKurio is freely available at https://github.com/lschoenm/MerKurio.
ER -