Community Simulator

Community Simulator simulates microbial community dynamics to model interactions among hundreds to thousands of interacting microbial species across varying environmental conditions and spatial structures.


Key Features:

  • Initial State Preparation: Includes tools for setting up initial states and environmental conditions across multiple samples to tailor simulations to experimental or theoretical scenarios.
  • Dynamic Equation Generation: Automatically generates dynamical equations from a predefined dictionary of modeling assumptions to represent community dynamics.
  • Parameter Sampling: Supports random parameter sampling with adjustable levels of metabolic and taxonomic structure.
  • Parallel Integration: Integrates dynamical equations in parallel to reduce simulation time.
  • Metacommunity Dynamics Support: Models metacommunity dynamics by allowing migration between samples to represent spatially structured communities.
  • Innovative EM Algorithm: Implements an Expectation-Maximization algorithm that leverages a duality between ecological dynamics and convex optimization to find equilibrium states, providing one to two orders of magnitude speedup over traditional numerical integration.

Scientific Applications:

  • Community interaction studies: Analysis of interactions within complex microbial communities composed of hundreds to thousands of species.
  • Environmental response prediction: Prediction of community responses to environmental changes and simulation of batch culture experiments.
  • Theoretical model testing: Exploration and testing of ecological hypotheses and scenarios using adjustable metabolic and taxonomic structure.

Methodology:

Computational methods include automatic generation of dynamical equations from a modeling-assumption dictionary, random parameter sampling, parallel numerical integration of dynamical equations, and an Expectation-Maximization algorithm that exploits a duality between ecological dynamics and convex optimization to find equilibrium states.

Topics

Details

License:
MIT
Tool Type:
library
Programming Languages:
Python
Added:
1/18/2021
Last Updated:
2/17/2021

Operations

Publications

Marsland R, Cui W, Goldford J, Mehta P. The Community Simulator: A Python package for microbial ecology. PLOS ONE. 2020;15(3):e0230430. doi:10.1371/journal.pone.0230430. PMID:32208436. PMCID:PMC7092969.

PMID: 32208436
PMCID: PMC7092969
Funding: - National Institute of General Medical Sciences: 1R35GM119461 - Simons Foundation: Mathematical Modeling in Living Systems