COSMOS

Simulate monocultures and two-species co-cultures side by side in the same environment to find the best microbial system for making a given product.

COSMOS: choosing between monocultures and co-cultures for bioproduction overview

What it does

Bioprocesses use either a single microbe (a monoculture) or a mix of microbes (a community or co-culture) to turn renewable feedstocks into chemicals. Monocultures are simpler to control and engineer; communities bring metabolic diversity and cooperation, but are harder to manage. Which one is better depends on the product, the feedstock and the conditions, and testing every option in the lab is impractical.

COSMOS (COmmunity and Single Microbe Optimisation System) makes this comparison on the computer. It builds pairwise communities from a chosen set of genome-scale metabolic models and simulates each community and its two member monocultures in the same environment, using dynamic flux balance analysis (dFBA), which follows growth, substrate use and product formation over time, together with flux variability analysis.

Rather than asking whether a community beats the average of its members, COSMOS benchmarks each community against its best-performing monoculture, so the system it picks is the one with the highest productivity (or yield). It also reports the community’s abundance distribution, the interaction between the partners and the metabolites they cross-feed.

Why it matters

  • Validated against experiment. Among all the co-cultures and monocultures examined, COSMOS identified Shewanella oneidensis–Klebsiella pneumoniae as the best producer of 1,3-propanediol under anaerobic conditions, matching an earlier experimental study. It captured the effect of glycerol concentration and inoculum ratio, and traced the benefit to S. oneidensis relieving the redox imbalance in K. pneumoniae.
  • The environment decides. Across aerobic and anaerobic, rich and minimal media, productivity was highest overall in aerobic rich conditions, but communities outperformed monocultures in anaerobic environments, with notable exceptions in both directions.
  • Interactions and sugars matter. Mutualistic pairs generally gave the largest productivity gains. Of seven carbon sources tested, lactose and sucrose tended to favour communities, while glucose and fructose boosted monocultures in most environments.
  • Balancing productivity and simplicity. By comparing both kinds of system on equal terms, COSMOS shows when a community is worth its extra complexity and when a monoculture is the better choice.

Key features

  • Pairwise community construction from BiGG and BioModels genome-scale models (a panel of ten bioproduction organisms in the paper)
  • Dynamic FBA simulation of communities and monocultures, with fastFVA for product fluxes
  • Master scripts for four environments: aerobic or anaerobic, rich or minimal medium
  • Analyses of carbon source, interaction type, productivity, yield, cross-fed metabolites and initial biomass ratio
  • Validation script reproducing the S. oneidensis–K. pneumoniae fed-batch experiments, and R scripts for the paper’s heatmaps and statistics

Quick start

COSMOS runs in MATLAB with the COBRA Toolbox. CPLEX is recommended, because COSMOS uses fastFVA.

1
git clone https://github.com/RamanLab/COSMOS.git
1
2
3
4
% Initialise the COBRA Toolbox and the solver first, then run a master script:
aerobicRich        % also aerobicMinimal, anaerobicRich, anaerobicMinimal
CSanalysis         % effect of carbon source (aerobic rich environment)
validation_SoKp    % comparison with S. oneidensis–K. pneumoniae experiments

Models, medium and kinetic parameters are set inside the master scripts. Results in the paper are based on productivity (ProductivityAnalysis.m); YieldAnalysis.m compares yields instead.

How to cite

If COSMOS helps your research, please cite:

Lavanya Raajaraam, Karthik Raman (2025). COmmunity and Single Microbe Optimisation System (COSMOS). npj Systems Biology and Applications 11:51. doi:10.1038/s41540-025-00534-w

BibTeX
@article{Raajaraam2025COmmunity,
  author  = {Lavanya Raajaraam and Karthik Raman},
  title   = {COmmunity and Single Microbe Optimisation System (COSMOS)},
  journal = {npj Systems Biology and Applications},
  year    = {2025},
  volume  = {11},
  pages   = {51},
  doi     = {10.1038/s41540-025-00534-w}
}