IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0230430.html
   My bibliography  Save this article

The Community Simulator: A Python package for microbial ecology

Author

Listed:
  • Robert Marsland
  • Wenping Cui
  • Joshua Goldford
  • Pankaj Mehta

Abstract

Natural microbial communities contain hundreds to thousands of interacting species. For this reason, computational simulations are playing an increasingly important role in microbial ecology. In this manuscript, we present a new open-source, freely available Python package called Community Simulator for simulating microbial population dynamics in a reproducible, transparent and scalable way. The Community Simulator includes five major elements: tools for preparing the initial states and environmental conditions for a set of samples, automatic generation of dynamical equations based on a dictionary of modeling assumptions, random parameter sampling with tunable levels of metabolic and taxonomic structure, parallel integration of the dynamical equations, and support for metacommunity dynamics with migration between samples. To significantly speed up simulations using Community Simulator, our Python package implements a new Expectation-Maximization (EM) algorithm for finding equilibrium states of community dynamics that exploits a recently discovered duality between ecological dynamics and convex optimization. We present data showing that this EM algorithm improves performance by between one and two orders compared to direct numerical integration of the corresponding ordinary differential equations. We conclude by listing several recent applications of the Community Simulator to problems in microbial ecology, and discussing possible extensions of the package for directly analyzing microbiome compositional data.

Suggested Citation

  • Robert Marsland & Wenping Cui & Joshua Goldford & Pankaj Mehta, 2020. "The Community Simulator: A Python package for microbial ecology," PLOS ONE, Public Library of Science, vol. 15(3), pages 1-18, March.
  • Handle: RePEc:plo:pone00:0230430
    DOI: 10.1371/journal.pone.0230430
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0230430
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0230430&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0230430?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Alan R. Pacheco & Mauricio Moel & Daniel Segrè, 2019. "Costless metabolic secretions as drivers of interspecies interactions in microbial ecosystems," Nature Communications, Nature, vol. 10(1), pages 1-12, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Lucas Hemmerle & Benjamin A. Maier & Miriam Bortfeld-Miller & Birgitta Ryback & Christoph G. Gäbelein & Martin Ackermann & Julia A. Vorholt, 2022. "Dynamic character displacement among a pair of bacterial phyllosphere commensals in situ," Nature Communications, Nature, vol. 13(1), pages 1-14, December.
    2. Junbo Tang & Wenlong Zuo & Lizhen Guo & Zhihao Han & Chengfeng Yang & Benfeng Han & Lei Dai & Xue Zhang & Xin Zhou, 2024. "Synergistic pectin deconstruction is a prerequisite for mutualistic interactions between honeybee gut bacteria," Nature Communications, Nature, vol. 15(1), pages 1-16, December.
    3. Na Chen & Na Du & Ruichen Shen & Tianpei He & Jing Xi & Jie Tan & Guangkai Bian & Yanbing Yang & Tiangang Liu & Weihong Tan & Lilei Yu & Quan Yuan, 2023. "Redox signaling-driven modulation of microbial biosynthesis and biocatalysis," Nature Communications, Nature, vol. 14(1), pages 1-13, December.
    4. Chris Girard, 2020. "Globalization and the erosion of geo-ethnic checkpoints: evolving signal-boundary systems at the edge of chaos," Evolutionary and Institutional Economics Review, Springer, vol. 17(1), pages 93-109, January.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0230430. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.