Skip to content

Repository files navigation

SIMBA-GNN


bioRxiv

We introduce SIMBA, a graph neural network enhanced with metabolic simulations, accurately predicting gut microbial abundances and uncovering cross-feeding interactions (Spearman ρ = 0.85).

The code and details for mechanistic simulations are available at: [https://github.com/javadamn/SIMBA-GNN/]

Overview

SIMBA is a deep learning framework that leverages heterogeneous graph neural networks to model complex interactions within microbial communities. The project implements a multi-stage training approach including self-supervised learning, supervised learning, and fine-tuning stages. Cross-feeding overview

Features

  • Heterogeneous Edge-Aware Graph Neural Network architecture
  • Multi-stage training pipeline:
    • Self-supervised learning
    • Supervised learning
    • Fine-tuning
  • Integration with Weights & Biases for experiment tracking
  • Support for various loss functions and optimization strategies
  • Flexible data handling for microbial community data

Model Checkpoints

The pre-trained model checkpoints are available at DOI

Requirements

  • Python 3.10+
  • PyTorch
  • PyTorch Lightning
  • Weights & Biases
  • Other dependencies (see requirements.txt)

Installation

# Clone the repository
git clone https://github.com/yourusername/MetaBiome.git
cd MetaBiome

# Install dependencies
pip install -r requirements.txt

Usage

The project can be run using the training script with Weights & Biases integration:

python train_wandb_sweep.py

Citation

If you use SIMBA-GNN in your research or software, please cite the following preprint:

@article{Parsa2025.05.27.656377,
  author       = {Parsa, Mohammad S. and Aminian-Dehkordi, Javad and Mofrad, Mohammad},
  title        = {{SIMBA-GNN}: Simulation-augmented Microbiome Abundance Graph Neural Network},
  journal      = {bioRxiv},
  year         = {2025},
  elocation-id = {2025.05.27.656377},
  doi          = {10.1101/2025.05.27.656377},
  url          = {https://www.biorxiv.org/content/early/2025/05/28/2025.05.27.656377},
  publisher    = {Cold Spring Harbor Laboratory}
}

License

This project is licensed under the Creative Commons Attribution 4.0 International License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages