mKmer: an unbiased K-mer embedding of microbiomic single-microbe RNA sequencing data

Fangyu Mo, Qinghong Qian, Xiaolin Lu, Dihuai Zheng, Wenjie Cai, Jie Yao, Hongyu Chen, Yujie Huang, Xiang Zhang, Sanling Wu, Yifei Shen, Yinqi Bai, Yongcheng Wang, Weiqin Jiang, Longjiang FanBriefings in Bioinformatics 2025 · DOI

TL;DR

This paper introduces mKmer, a novel computational method for analyzing single-microbe RNA sequencing (smRNA-seq) data. By leveraging K-mer signatures instead of traditional gene-based approaches, mKmer bypasses the need for reference genomes, enabling more accurate species identification and functional analysis, especially in complex microbial communities.

What Problem Does This Paper Address?

Analyzing the vast and complex world of microbial communities using smRNA-seq presents a significant challenge. Current methods heavily rely on having complete and accurate reference genomes for the microbes present. However, for many microbial ecosystems, such comprehensive genomic resources are lacking or incomplete. This gap hinders accurate species identification and downstream functional analysis. Furthermore, even when reference genomes exist, variations in microbial populations can lead to reads that don't align, introducing bias and missing crucial biological information. The authors aim to overcome these limitations by developing a reference-genome-free approach.

Methods

The core innovation of mKmer lies in its use of K-mer signatures for analysis. K-mers are short, fixed-length subsequences of DNA or RNA. Instead of building a cell-by-gene expression matrix, mKmer constructs a cell-by-high-frequency conserved K-mer (HCK) matrix.

Here's a breakdown of the key steps:

  • Quality Control: Standard UMI-tools are used for initial processing of raw smRNA-seq data to identify and filter unique molecular identifiers (UMIs) and remove duplicate reads.
  • K-mer Scanning and Counting: Jellyfish is employed to efficiently count K-mers of various lengths within the cleaned reads. The optimal K-mer length is determined by analyzing K-mer frequency distributions and identifying a "knee" point in the K-mer rank plot, which signifies the number of high-frequency conserved K-mers (HCKs).
  • HCK Selection: High-frequency conserved K-mers (HCKs) are identified. These are thought to represent evolutionarily conserved regions, such as motifs in protein domains, which are crucial for species identification.
  • Cell-by-HCK Matrix Construction: A matrix is generated where rows represent individual cells and columns represent the presence or count of selected HCKs. This matrix serves as the basis for downstream analysis.
  • Species Identification: mKmer uses a K-mer-based root-to-leaf classification strategy, integrating tools like Kraken 2 and Bracken, to identify microbial species based on the HCK matrix.
  • Visualization and Clustering: Seurat is used for dimensionality reduction (UMAP) and clustering of cells based on the cell-by-HCK matrix.
  • Functional Annotation: Marker K-mers (identified from clusters) are used for functional enrichment analysis. This involves identifying nucleotide (KmerGOn) and protein (KmerGOp) motifs derived from these marker K-mers and mapping them to Gene Ontology (GO) terms.

Datasets

The study utilized seven smRNA-seq datasets for benchmarking and validation:

  • Four datasets from healthy donors (previously published).
  • Two fecal samples from a patient with colorectal cancer (before and after immunotherapy).
  • One dataset from soybean soil.

The authors did not introduce a new benchmark dataset but rather evaluated their method against existing datasets and compared it to traditional gene-based methods.

Key Insights and Ideas

  • Reference-Genome-Free Power: The most significant insight is that K-mer signatures, particularly high-frequency conserved K-mers (HCKs), can effectively capture essential taxonomic and functional information without relying on pre-existing reference genomes. This bypasses a major bottleneck in microbial genomics.
  • HCKs as Informative Signatures: HCKs are not just random short sequences; they represent evolutionarily conserved regions (like motifs) that are highly informative for distinguishing microbial species, even in complex mixtures.
  • Improved Clustering and Species Identification: The cell-by-HCK matrix leads to clearer and more accurate clustering of microbial species compared to traditional cell-by-gene matrices, especially in challenging datasets.
  • Functional Insights from K-motifs: By analyzing K-mers that correspond to conserved motifs, mKmer can infer functional roles of microbial species, bridging the gap between sequence identification and biological function.

Key Results

  • Enhanced Species Identification: mKmer identified more microbial species than traditional gene-based methods in five out of seven tested smRNA-seq datasets, with an average of five to nine additional microorganisms identified per sample.
  • Improved Clustering Accuracy: Quantitative evaluation using Davies-Bouldin Index (DBI) and Silhouette Coefficient (SC) showed that mKmer's cell-by-HCK matrix resulted in better clustering efficacy compared to cell-by-gene matrices.
  • Computational Efficiency: mKmer demonstrated significantly faster runtimes (19-98 times faster on average) and lower memory consumption compared to STAR, a popular alignment-based tool, making it more accessible for researchers.
  • Case Study Success: In a case study of a colorectal cancer patient, mKmer identified an increase in microbial richness post-treatment and revealed functional shifts in specific species like Phocaeicola dorei, highlighting its utility in understanding dynamic microbial community changes.

Limitations and Future Work

  • Functional Annotation Nuances: While mKmer excels at species identification, its functional annotation relies on translating K-mers into motifs, which might have limitations compared to direct gene-based functional annotation when comprehensive gene annotations are available.
  • Kraken 2 Correction: The authors suggest that Kraken 2's species annotation could potentially be corrected by mKmer's clustering results.
  • Integration with Other Tools: Future work could involve integrating mKmer with other advanced microbial metagenomic analysis tools, such as those for filtering host-derived reads (e.g., PathSeq) or for more precise functional profiling (e.g., MetaPhlAn3).
  • Expanding Functionality: The authors aim to progressively expand mKmer's functionality, enhance its analytical accuracy, and optimize its computational performance.

Summary updated

BibTeX
@article{mo2025mkmer,
  author = {Fangyu Mo and Qinghong Qian and Xiaolin Lu and Dihuai Zheng and Wenjie Cai and Jie Yao and Hongyu Chen and Yujie Huang and Xiang Zhang and Sanling Wu and Yifei Shen and Yinqi Bai and Yongcheng Wang and Weiqin Jiang and Longjiang Fan},
  title = {{mKmer: an unbiased K-mer embedding of microbiomic single-microbe RNA sequencing data}},
  journal = {Briefings in Bioinformatics},
  year = {2025},
  doi = {10.1093/bib/bbaf227},
}
Figure