Melody: meta-analysis of microbiome association studies for discovering generalizable microbial signatures

Zhoujingpeng Wei, Guanhua Chen, Zheng-Zheng TangGenome 2025

Abstract

Standard protocols for meta-analysis of association studies are inadequate for microbiome data due to their complex compositional structure, leading to inaccurate and unstable microbial signature selection. To address this issue, we introduce Melody, a framework that generates, harmonizes, and combines study-specific summary association statistics to powerfully and robustly identify microbial signatures in meta-analysis. Comprehensive and realistic simulations demonstrate that Melody substantially outperforms existing approaches in prioritizing true signatures. In the meta-analyses of five studies on colorectal cancer and eight studies on the gut metabolome, we showcase the superior stability, reliability, and predictive performance of Melody-identified signatures.

Introduction

Microbiome sequencing data is inherently compositional. Because sequencing depth does not correlate with the actual total microbial load in a biological sample, the resulting data reflects relative abundance (RA) rather than absolute abundance (AA). This creates a significant challenge: if one dominant microbe increases in absolute terms, the relative abundance of all other microbes artificially decreases to compensate.

When researchers attempt to combine multiple studies (meta-analysis) to increase statistical power, these compositional biases compound with varying sequencing depths, zero-inflation, and severe batch effects. Traditional pooled-data approaches require complex batch corrections that often distort biological signals, while existing summary-data methods fail to properly translate RA statistics back to AA effects. This leads to high false-positive rates and signatures that fail to generalize across different populations. Melody was developed to address these limitations by harmonizing relative abundance statistics across studies to accurately identify sparse, generalizable absolute abundance signatures.

The Melody Framework

Melody (Meta-analysis for selecting microbial drivers in compositionality) is a summary-data meta-analysis framework designed to operate without the need for individual-level data sharing or risky batch-effect corrections. The workflow consists of two primary stages:

  1. Study-Specific Summary Statistics: Within each study, Melody employs a quasi-multinomial regression model to link microbiome counts to covariates (e.g., disease status). This model naturally handles overdispersion and uneven sequencing depths, outputting RA association coefficients relative to a chosen reference feature.
  2. Harmonization and Best Subset Selection: To recover true AA effects, Melody assumes that biological "drivers" are sparse—meaning only a small subset of microbes actually change in absolute abundance. It introduces a study-specific shift parameter ($\delta_\ell$) to offset RA coefficients. By jointly tuning these parameters and a sparsity constraint via a best subset selection algorithm, Melody aligns disparate studies and isolates the sparse meta-AA association coefficients.
The Melody workflow: from individual-level data to sparse meta-AA coefficients via quasi-multinomial modeling and best subset selection.

By relying on summary statistics, Melody circumvents the privacy and logistical hurdles of sharing clinical data while remaining mathematically invariant to the choice of reference microbe—a common pain point in compositional data analysis.

Performance and Validation

To evaluate Melody, researchers utilized synthetic datasets mimicking real colorectal cancer (CRC) studies, as well as large-scale real-world datasets including 5 CRC metagenomics studies and 8 microbiome-metabolome cohorts.

In comprehensive simulations, Melody consistently achieved the highest Area Under the Precision-Recall Curve (AUPRC) compared to baseline methods like MMUPHin, ALDEx2, and ANCOM-BC2. Its performance remained robust even under challenging conditions, such as highly uneven sequencing depths or imbalanced effect directions across studies.

Simulation results showing Melody (red line) consistently outperforming existing methods in AUPRC across various sample sizes and conditions.

In real-world applications, Melody demonstrated superior stability and predictive power:

  • Colorectal Cancer: Melody identified 51 signatures, including known pathogens like F. nucleatum. These signatures were significantly more stable (higher Jaccard index) than those found by competing methods when tested via leave-one-study-out cross-validation.
  • Microbiome-Metabolome: Analyzing ~43,000 metabolite-genus pairs, Melody completed the task in under 20 minutes on a standard laptop, proving its scalability for high-dimensional data.

Discussion and Future Directions

The core innovation of Melody is the realization that sparsity is the key to unlocking absolute abundance from relative data. By assuming that true biological drivers are the sparsest possible set of changes, Melody can mathematically recover AA signals without physical microbial load measurements.

However, this reliance on the sparsity assumption is also a limitation; if a covariate causes widespread changes in absolute abundance (e.g., >50% of features change), Melody's performance edge may degrade. Future work aims to extend the framework using random-effects models to detect heterogeneous associations, such as microbes that are disease-associated only in specific geographic or demographic contexts.

Summary updated

BibTeX
@inproceedings{wei2025melody,
  author = {Zhoujingpeng Wei and Guanhua Chen and Zheng-Zheng Tang},
  title = {{Melody: meta-analysis of microbiome association studies for discovering generalizable microbial signatures}},
  booktitle = {Genome},
  year = {2025},
  doi = {10.1186/s13059-025-03721-4},
}
Figure