Search papers, labs, and topics across Lattice.
MerKurio is a novel Rust-based command-line tool designed for high-performance k-mer based sequence analysis. It addresses the critical need to retrieve source sequences from FASTA/FASTQ files and annotate/filter aligned sequences in SAM/BAM files using k-mer tags. Benchmarks show MerKurio significantly outperforms existing tools in speed and offers enhanced utility, including automatic algorithm selection and broad file format support.
Extracting and annotating biological sequences with k-mers is now orders of magnitude faster, enabling new scales of genomic analysis.
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.