Fast, lightweight, and accurate metagenomic functional profiling using FracMinHash sketches
Abstract
Motivation: Functional profiling of metagenomic samples is essential to decipher the functional capabilities of microbial communities. Traditional and more widely used functional profilers in the context of metagenomics rely on aligning reads against a known reference database. However, aligning sequencing reads against a large and fast-growing database is computationally expensive. In general,k-mer-based sketching techniques have been successfully used in metagenomics to address this bottleneck, notably in taxonomic profiling. In this work, we describe leveraging FracMinHash (implemented in sourmash, a publicly available software), ak-mer-sketching algorithm, to obtain functional profiles of metagenome samples. Results: We show how pieces of the sourmash software (and the resulting FracMinHash sketches) can be put together in a pipeline to functionally profile a metagenomic sample. We named our pipeline fmh-funprofiler. We report that the functional profiles obtained using this pipeline demonstrate comparable completeness and better purity compared to the profiles obtained using other alignment-based methods when applied to simulated metagenomic data. We also report that fmh-funprofiler is 39-99x faster in wall-clock time, and consumes up to 40-55x less memory. Coupled with the KEGG database, this method not only replicates fundamental biological insights but also highlights novel signals from the Human Microbiome Project datasets. Reproducibility: This fast and lightweight metagenomic functional profiler is freely available and can be accessed here: <a href="https://github.com/KoslickiLab/fmh-funprofiler">https://github.com/KoslickiLab/fmh-funprofiler</a>. All scripts of the analyses we present in this manuscript can be found on <a href="https://github.com/KoslickiLab/KEGG_sketching_annotation_reproducibles">GitHub</a>
Related articles
Related articles are currently not available for this article.