Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2023 Nov 13;19(11):e1011661. doi: 10.1371/journal.pcbi.1011661

Inferring microbial interactions with their environment from genomic and metagenomic data

James D Brunner 1,2,*, Laverne A Gallegos-Graves 1, Marie E Kroeger 1,¤
Editor: Sunil Laxman3
PMCID: PMC10681327  PMID: 37956203

Abstract

Microbial communities assemble through a complex set of interactions between microbes and their environment, and the resulting metabolic impact on the host ecosystem can be profound. Microbial activity is known to impact human health, plant growth, water quality, and soil carbon storage which has lead to the development of many approaches and products meant to manipulate the microbiome. In order to understand, predict, and improve microbial community engineering, genome-scale modeling techniques have been developed to translate genomic data into inferred microbial dynamics. However, these techniques rely heavily on simulation to draw conclusions which may vary with unknown parameters or initial conditions, rather than more robust qualitative analysis. To better understand microbial community dynamics using genome-scale modeling, we provide a tool to investigate the network of interactions between microbes and environmental metabolites over time.

Using our previously developed algorithm for simulating microbial communities from genome-scale metabolic models (GSMs), we infer the set of microbe-metabolite interactions within a microbial community in a particular environment. Because these interactions depend on the available environmental metabolites, we refer to the networks that we infer as metabolically contextualized, and so name our tool MetConSIN: Metabolically Contextualized Species Interaction Networks.

Author summary

We present a method for analysis of community dynamic flux balance analysis by constructing an interaction network between microbes and metabolites in a microbial community. To do so, we reformulate community wide dynamic flux balance analysis as a sequence of ordinary differential equations, which can in turn be interpreted as networks. We then provide the sequence of interaction networks which depend on and dynamically alter the available metabolite pool, as well as the time-averaged network over the course of simulated growth on a finite resource medium.


This is a PLOS Computational Biology Methods paper.

Introduction

Microorganisms have profound impacts on ecosystems ranging from the human gut to forest soils to plant root systems. In humans, recent advances in technology have created a plethora of works describing the differences in microbial community, composition, and function between diseased patients and healthy controls [17], clearly demonstrating that microbial communities play an important role in human health. Likewise, environmental microbial communities have been found to affect biogeochemical cycling in soil [8], leading to changes in plant decomposition and soil carbon sequestration that effect the amount of greenhouse gases in the atmosphere. Even in plants, rhizosphere microbial communities affect growth and resilience [9] as well as response to drought [10].

To understand and predict the effects of microbial communities on their environment, we must first understand how these communities assemble and interact. Biotic interactions between microbes are a driving force in community assembly, with both positive and negative interactions between microorganisms creating different community compositions. Moreover,the ability for non-resident microorganisms to invade the community is also largely controlled by biotic interactions [11], which makes it critical to understand these interactions to accurately predict treatment success for microbiome manipulation. It is well established that community structure is important in determining the impact of the microbiome on its host environment. For example, disease-free asymptomatic individuals will have pathogenic bacteria in their microbiome [7], suggesting that community structure and microbial interactions affect the host-microbe relationship.

The advent of modern sequencing and metabolic pathway analysis has led to an effort to organize this data into useful models of microbes and microbial communities. These models, which represent mathematically the internal network of chemical reactions within a cell’s metabolism are called genome-scale metabolic models (GSMs) [12, 13]. GSMs and the constraint-based reconstruction and analysis (COBRA) methods that make use of them have shown growing promise in predicting and explaining the structure and function of microbial communities [1417]. However, the complexity of these models means that analysis is often based only on simulation, and is very sensitive to parameters and other assumptions. For example, many modern community metabolic modeling methods seek to predict co-culture growth or biomass at chemostatic equilibrium using artificial community-wide constraints [1820]. On the other hand, dynamic methods that use predictions about growth rate and metabolite consumption to construct a dynamical system suffer from dependence on unknown metabolic parameters and initial conditions, as well as heavy computational cost [2123]. In fact, most tools for community modeling only provide predictions of species growth rates and metabolite consumption, without providing an understanding of the fundamental interactions that lead to these predictions [24, 25]. Some qualitative insight into the systems is possible using simulated knock-out experiments [20, 26] or simplifying the system [27]. However, new methods for qualitative analysis of community metabolic models are needed.

An interaction network provides an interpretable object that can be used to characterize a microbial community in more depth than composition alone [28], and suggest keystone taxa and other functional properties of the community [29, 30]. These advantages, and the apparent importance of microbial interactions, have led to the use of network inference and analysis for understanding important phenomena including disease treatment [31] and human impact on the climate [32]. The most commonly used method for network inference involves computing the propensity for microbes to appear together in a sample, most commonly defined by co-occurrence frequency, correlation, or covariance [33, 34]. More sophisticated methods for inferring associations between microbes include the use of regression-based and probabilistic models [28, 35] or fitting to time-longitudinal data [36]. Additionally, some modern methods have sought to combine mechanistic hypotheses with statistical network building using machine learning approaches by incorporating “background knowledge” of known microbial interactions [37] or using simple microbial characteristics along with a set of known interactions [38].

GSMs and COBRA modeling provide an attractive avenue for a “bottom up” approach to network building from underlying metabolic mechanism [39]. This can be done using simulated knock-out experiments [20], but this approach suffers from a focus on direct microbe-microbe interactions, which lead to models that lack the complexity of full metabolite mediated networks [40, 41]. While differences in networks across meta-groups may provide insight, these networks in general provide few avenues for prediction and design. Patterns in network structure cannot be directly related to function without further study, and networks built in this way cannot account for dynamically changing interactions across perturbations in the environment.

In this manuscript, we present a method for inferring interactions between microbes and metabolites within a microbial community by leveraging genome-scale metabolic models (GSMs). This method requires only some method of constructing GSMs as well as an estimate of the metabolic environment of the community. GSMs can be built as long as a genome can be assigned to each member of the community, using automated construction methods such as CarveME [42] or modelSEED [43]. Assigning genomes to community members in a sample can be done with genomic or metagenomic data, or if that data is not available, a less accurate assessment can be done by matching amplicon sequence data with previously characterized genomes.

Our method is based on Flux balance analysis (FBA), which allows us to infer microbial growth and exchange of metabolites with the environment. These can be combined into a dynamical system, called dynamic flux balance analysis (DFBA) which in turn can be represented as a sequence of networks. Simulation of dynamic flux balance analysis requires the solution to a linear optimization problem at each time-step. These solutions can be found without repeated optimization by using a basis for an initial solution, which allows us to find new solutions as the problem constraints change simply by solving a linear system of equations. This means that we can reformulate the dynamical system as an ordinary differential equation (ODE) that has solutions that match the solution to the DFBA problem for some time interval. Finally, this ODE system can be naturally interpreted as a network of interactions between microbes and metabolites, achieving our goal. We note also that this ODE system provides a second network of interactions between the metabolites that is mediated by the microbial metabolisms of the community. Fig 1 provides a graphical summary of the method.

Fig 1.

Fig 1

MetConSIN reformulates dynamic flux balance analysis (represented by the top-left figure) as a series of smooth ordinary differential equations (top-right). This dynamical system provides an model of a microbial community and its environment (represented by the bottom-left figure) as a series of metabolite mediated networks (bottom-right).

Background

Dynamic flux balance analysis

Advances in genetic sequencing have led to the construction of genome scale models (GSMs) of the metabolic pathways of microbial cells, and to methods to analyze and draw insight from such large scale models [12]. Constraint based reconstruction and analysis (COBRA) is used to model steady state fluxes ψi through a microorganism’s internal metabolic reactions under physically relevant constraints [12]. Flux balance analysis (FBA) is a COBRA method that optimizes some combination of internal reaction fluxes which correspond to increased cellular biomass, subject to the constraint that the cell’s internal metabolism is at equilibrium.

Precisely, flux balance analysis assumes that cell growth and metabolic flux can be determined by solving the following linear program [23]:

{max(ψ·γ)Γψ=0c1(y)Γ*ψc2(y)d1ψd2} (1)

where the matrices Γ*, Γ together represent the stoichiometry of the cell’s metabolism, the vector ψ represents the flux through the cell’s internal reactions, the objective vector γ encodes the cell’s objective, exchange constraints c1, c2 are determined in part by available external metabolites and internal constraints d1, d2 are known. Exchange rates vj of metabolite j between the cell and its environment are in turn determined by internal flux according to v = Γ*ψ. For convenience, we define a vector

c=(c1,d1,c2,d2,0) (2)

to be the vector of all of the problems constraints.

Solutions to FBA provide a rate of increase of biomass which can be interpreted as a growth rate for a cell. Furthermore, FBA solutions allow us to compute the vector v, which represents metabolite exchange between the cell and an external metabolite pool. By assuming that constraints on nutrient exchange reactions within the metabolic network are functions of the available external metabolites, the coupled system of microbe and environment can be modeled. For a community of microbes x = (x1, …, xp) in an environment defined by the concentration of nutrients y = (y1, …, ym) this model has the form [23]:

dxidt=xi(γi·ψi) (3)
dyjdt=-i=1pxi(Γi*ψi)j (4)

with ψi determined separately for each organism according to a linear program of the form Eq (1). This system is referred to as dynamic flux balance analysis (DFBA). Note that this is a metabolite mediated model of the community, meaning that the coupling of the growth of the separate microbes is due to the shared pool of metabolites y.

Piece-wise smooth representation

Simulation of the dynamical system given by Eqs (3) and (4) can be accomplished by leveraging the fundamental theorem of linear programming [23], which states that if Eq (1) has an optimal solution, then it has an optimal solution that can be represented as the solution to an invertible system of linear equations [44]. This means that there is some invertible matrix B and index set B such that

ψ=B-1c¯ (5)

is an optimal solution to the linear program (where for ease of notation we substitute c¯=cB). The key observation allowing efficient forward simulation of Eqs (3) and (4) is that as the constraints c1(y), c2(y) vary, the matrix B does not change. In other words, there is some time interval such that we can replace the linear program Eq (1) with the linear system of equations

Biψi=c¯i(y) (6)

for some time-interval, where c¯i is a subset of the bound functions ci. At the end of this time interval, the solution to Eq (6) stops obeying the problem constraints, and new Bi must be chosen. Putting this together, we can define a sequence of time intervals [t0, t1), [t1, t2), …, [tn−1, T) such that solutions to the system defined by dynamic FBA for a community (Eqs (1), (3) and (4)) are solutions to the system of ODEs

dxidt=xi(γi·(Bik)-1c¯ik(y)) (7)
dydt=-i=1pxiΓi*(Bik)-1c¯ik(y). (8)

on the interval [tk, tk+1) for some invertible matrices Bik.

The challenge of efficient forward simulation of DFBA is then in finding the matrices Bik, which may be non-unique. In previous work, we presented a method for choosing the set of Bik that allow forward simulation so that tk+1 > tk, and created a python packaged called SurfinFBA for simulation. In brief, it is necessary to solve a new optimization problem defined by the time-derivative of the constraints of the original FBA linear program whenever a new Bik is needed. Furthermore, we have recently improved this method to increase the length of the time intervals [tk, tk+1) (see supporting material S1 Text). This improvement is packaged with the MetConSIN package, which includes SurfinFBA.

Methods

MetConSIN network construction

The dynamical system defined by DFBA (Eqs (1), (3) and (4)) can be simulated but is difficult to interpret and analyze, especially when accounting for uncertainty in initial conditions and bound functions ci1(y),ci2(y). However, Eqs (7) and (8) suggest that the system can be interpreted as a network of interactions between microbes and metabolites on the time interval [tk, tk+1) with only mild assumptions on ci1(y),ci2(y). DFBA therefore implies a sequence of interaction networks representing the dynamics of a microbial community. Furthermore, the FBA solutions for each community member, and as a result the interactions that can be inferred, depend entirely on the metabolic environment (y). Therefore, for a fixed metabolic environment (created by, e.g., flowing metabolites into a bioreactor at an increasing rate or finding a chemostatic community equilibrium) DFBA provides an interaction network representing community metabolic activity.

Without loss of generality, we may construct Eq (1) so that the forward direction (i.e. positive flux) of each of the first m reactions transports one of the m environmental metabolites into the cell. Then we assume that c2(y) has the form

ci2(y)=(ci12(y1),,cim2(ym)) (9)

with non-decreasing cij2(yj), and that ci1(y)=ci1 is constant. In plain language, we assume that the fluxes of reactions that transport environmental metabolites into the cell are bounded by the availability of the corresponding environmental metabolites, and the other reactions have constant bounds.

Under this assumption, for time-interval k, Eq (7) can be rearranged into the form

dxidt=Cikxi+j=1maijkxicij2(yj)=xi(Cik+j=1maijkcij2(yj)) (10)

where Cik is a constant that we refer to as intrinsic growth, and the aijk are combinations of entries in γi and (Bik)-1. Likewise, Eq (8) can be rearranged into the form

dyldt=-i=1p(Dilkxi+j=1mbijlkxicij2(yj)) (11)

where Dilk is a constant, and the bijlk are entries of the matrix Γi*(Bik)-1. We may now interpret these ODEs as networks of interactions term by term.

Eq (10) can be interpreted as growth of a microbial population proportional to the population biomass, with growth rate modified by the environmental metabolites yj. This is similar to a generalized Lotka-Volterra model [41], and can be naturally represented by a set of network edges pointing from a metabolite to the microbe with weights aijk.

The terms in Eq (11) are slightly more complicated to interpret. The terms Dilkxi represent some effect of the microbe i on the available biomass of j over the time interval [tk, tk+1) which only changes with the biomass xi of microbe i over this interval. This effect is the result of growth pathways that do not depend on metabolite availability, and may be 0. Additionally, when j = l, the term billkxicil2(yl) can be interpreted as pairwise interactions between microbe i and metabolite l, e.g. consumption of a carbon source. These two sets of terms can be represented by a set of network edges pointing from the microbe to the metabolite, with weights Dilk+billk. The remaining terms represent interactions that involve two metabolites and one microbe. In the formalism of interaction network theory (see [4548]), these remaining terms can be interpreted as reactions of the form

Xi+YjbijlkXi+Yj+Yl (12)

if bijl < 0 (and so the interaction increases the available biomass of metabolite l), meaning that microbe i and metabolite j interact to form metabolite l. This means, e.g., that metabolite l is created as a byproduct of the metabolism of metabolite j by microbe i. In this case, we again represent the interaction as a network edge from microbe i to metabolite l, but now annotate the edge with the information that this interaction is mediated by metabolite j. Finally, we may do the same if bij > 0, although we note now that this represents a non-autocatylitic interaction, meaning that the available biomass of metabolite l is reduced independent of the current available biomass. While this seems counter-intuitive, it arises when metabolite l is consumed in some metabolic pathway but it is not the rate-limiting external metabolite for that pathway. In fact, when enough of the biomass is consumed so that metabolite l becomes rate-limiting, the system will transition to the next interval [tk+1, tk+2) and the ODEs Eqs (10) and (11) will change. This transition ensures that the non-negative orthant is forward invariant for the DFBA system, meaning the system will not achieve a non-physical state of negative biomass. The mapping from the ODEs to a microbe-metabolite network is summarized in Table 1.

Table 1. Mapping of terms in Eqs (10) and (11) to network edges.

Equation Term Network Edge Weight Mediated by
dxidt aijxicij2(yj) YiXi aijk -
dyldt Dilkxi XiYl Dilk -
dyldt billkxicil2(yl) XiYl billk -
dyldt bijlkxicij2(yj) XiYl bijjk Y j

Metabolite interaction network construction

In addition to the microbe-metabolite interaction network described above, the last set of interactions suggest a second network can be formed which includes only the metabolites. In the microbe-metabolite network, the terms bijlkxicij2(yj) in Eq (11) describe how microbe i effects the available biomass of metabolite l as mediated by metabolite j. We may instead interpret this as the metabolite j effecting the available biomass of metabolite l through reactions carried out by microbe i. This interpretation suggests a network of edges

YjXiYl

labeled by the microbe whose metabolism contributes the edge.

Microbe interaction network construction

While dynamic FBA can be written as a series of microbe-metabolite interaction networks, researchers are often interested in the emergent interactions between microbes themselves. MetConSIN provides a simple heuristic for inferring these interactions based on the competitive and cross-feeding interactions of the microbe-metabolite network. The heuristic is as follows: to determine the effect of microbe Xi on the growth of microbe Xj, we find the set of all paths of length two of the form

XiwilYlwljXj

with weights in the microbe-metabolite network wil and wlj. If wil < 0, meaning that Xi consumes or otherwise depletes Yl, while wlj > 0, e.g. Yl is a limiting resource for the growth of Xj, then this pair of interactions can be interpreted similarly to competition between Xi and Xj, although this competition does not need to be symmetric. Conversely, if wil > 0 and wlj > 0, then the presence of Xi will increase the growth of Xj through cross-feeding. We therefore take as the composite edge weight w˜ij of the emergent interaction

Xiw˜ijXj

to be the sum over all such paths of the products of the weights of the edges in the path:

w˜ij=l:XiYlXjwilwlj. (13)

Sequencing of soil isolates

Bacterial isolation

Ten bacterial isolates were originally isolated using serial dilution from soils collected in Utah [49] (38.67485 N, 109.4163 W, 1310 elevation), New Mexico (35.4255167 N, 106.6498 W, 5405 elevation), and Colorado (37.23081667 N, 107.8599667 W, 6484 elevation). These bacterial isolates were grown on either Caulobacter medium, 1/10 Tryptic soy Medium (TSB), or Nutrient medium at 30oC for 24–72 hours depending on the strain. Single colonies were then transferred in their respective growth medium and grown for 24–72 hours at 30oC while shaking at 250rpm. Bacterial biomass was harvested from overnight cultures by centrifugation and High Molecular Weight (HMW) DNA extractions were completed using the Qiagen MagAttract HMW DNA Kit (Qiagen, Hilden, Germany) following manufacturer’s protocol. Two of the bacterial isolates required an additional clean-up after DNA extraction which was completed using the Qiagen PowerClean Pro Clean-up Kit (Qiagen, Hilden, Germany) following manufacturer’s protocol.

Library preparation

DNA library preparation and sequencing was completed at the LANL Genomics Facility as described in detail below. DNA initial quantification was done using Qubit High sensitivity ds DNA kit (Invitrogen). DNA integrity was assessed on Tape Station using gDNA Screen tape (Agilent Technology). DNA purity ratios were determined on NanoDrop 1 spectrophotometer (ThermoScientific). 1ug of genomic DNA for each sample was sheared using g-Tubes (Covaris, USA). Shearing parameters were chosen according to the DNA integrity of a particular isolate. All but two samples were sheared the following way: shear 2 min at 7,000 rpm, flip the tube, and shear 2 min at 7,000 rpm. More fragmented samples were sheared using the following parameters: shear 2 min at 3,500 rpm, flip the tube, and shear 2 min at 3,500 rpm.Sheared DNA was collected and purified using AMPure PB beads (Pacific Bioscience, USA) as per PacBio protocol. The quality and quantity of the purified DNA were assessed using the TapeStation and Qubit as described above. SMRT bell templates were constructed according to the PacBio protocol using Express Template Prep Kit 2.0.

First, DNA underwent damage repair, end repair and A-tailing. It was followed by the barcoded overhang adapter ligation and purification with 0.45X volume of AMPure PB beads (Pacific Bioscience, USA). The barcoded samples were pooled in the equimolar amount according to the volumes provided in the PacBio Microbial Multiplexing Calculator. The pooled SMRT bell library was quantified using the Qubit DNA HS kit (Invitrogen) and the average fragment size was determined on Bioanalyzer using the DNA HS kit (Agilent). The conditioned sequencing primer v. 4 was annealed and Sequel II DNA Polymerase 2.0 was bound to the SMRT bell library. The template/ DNA polymerase complex was diluted and purified with 1.2X volume of AMPure PB beads (Pacific Bioscience, USA). The complex was sequenced on PacBio Sequel II instrument, using 1 SMRT cell 8M and Sequencing chemistry 2.0, 30 hour movies were recorded.

Sequencing

The raw PacBio reads were converted to PacBio HiFi reads using the “CCS with Demultiplexing” option in SMRTLink 11.0.0.146107. This resulted in a total of 1,532,731 HiFi reads for a total yield of 8.3 Gbp. The median read quality was Q37 with a mean read length of 5,409 bp.

The reads were assembled using Flye v.2.9-b1768. Putative number of plasmids were estimated by looking at the assembly_info.txt files output by Flye. This file indicates if a contig is circular and/or a repeat. Contigs that were indicated as circular but not a repeat, as well as under 500 Kbp were assumed to be plasmids. Contigs that had the same attributes but were over 500 Kbp were assumed to be a complete bacterial chromosome. Then, the assemblies were annotated using Prokka v.1.14.6. The taxonomy of the genomes were derived using gtdbtk v.1.5.0.

Genome-scale model reconstruction & MetConSIN simulation

Genome-scale models for the 10 bacterial genomes were created using modelSEED [43] within the KBase computational platform [50]. The models were gap-filled with a complete media. The resulting models were used to test the MetConSIN simulation method, with models labeled according to the genome ID of the corresponding bacterial genomes. For the clarity of the network figures, we label the nodes corresponding to each model with the unique 1- or 2-digit integer that appears in the genome ID. Table 2 lists the IDs, classification, and node labels for the 10 models, and the supplemental file S1 Table contains details of the sequencing results.

Table 2. The 10 bacterial genomes that were used to demonstrate the method were isolated from soil samples and sequenced with PacBio.

Genomes were assembled using the procedure detailed in the methods section and are available on the sequence read archive database. We constructed GSMs for these genomes using modelSEED, which are available in the Examples directory of the project repository. Full details of the sequencing results can be found in S1 Table.

Barcode ID NCBI Classification NCBI Taxonomy ID Node Label
bc1001 Kocuria sp. ALI-2-A 3025731 1
bc1002 Nocardioides sp. ALI-37-C 3025730 2
bc1003 Williamsia muralis ALI-73-A 85044 3
bc1008 Priestia megaterium s92 1404 8
bc1009 Paenibacillus spp. s49 3051831 9
bc1010 Microbacterium spp. s49 3025735 10
bc1011 Streptomyces sp. ALI-76-A 3025736 11
bc1012 Mesorhizobium spp. s92 3051830 12
bc1015 Paenibacillus_E spp. s92 3051829 15
bc1016 Priestia megaterium strain s92 1404 16

Results & discussion

Simulation of 10 soil-isolated taxa

MetConSIN provides analysis of the dynamic flux balance analysis (DFBA) system by inferring a set of interaction networks from that system. To demonstrate this utility, we simulated the growth of 10 taxa isolated from soil using DFBA, and used MetConSIN to construct the series of interaction networks that the community behaved according to over the course of the simulation. The interaction networks simulated by MetConSIN were used to develop targeted hypotheses about microbial interactions that are currently being tested in the laboratory.

Fig 2 shows the simulated growth of genome-scale models of all 10 taxa in the simulated community on a finite media in an aerobic environment, all of which reached stationary phase when glucose was depleted. The community grew through a set of 3 distinct time-intervals, each with a corresponding species-metabolite and metabolite-metabolite network. These networks, as well as the time-weighted variance between them are shown in Figs 3 and 4. The two sets of networks provide a mechanistic explanation of the microbial growth and metabolic activity of the community. These networks tell us which microbes are consuming and producing environmental metabolites, as well as how the environmental metabolites effect cell growth. For any time interval, an edge from a metabolite to a microbe has a non-zero edge weight if and only if the simulated growth rate of the microbe is a function of the concentration of the metabolite during that interval. Inspection of the network reveals that only a few such edges exist, even though many metabolites are depleted by microbes. This is because only a subset of the constraints of flux balance analysis determine the growth rate, as indicated by the basic index set B that is used to solve DFBA. In other words, only rate-limiting metabolites appear as source nodes in the network.

Fig 2. The 10 taxa isolated from soil samples all grow to stationary phase at varying rates.

Fig 2

The community grows in 3 distinct time-intervals, each with a specific interaction network associated. The dotted lines indicate time-points at which SurfinFBA required a new basis for forward simulation of at least one taxa. When only one new basis was needed, the color of the dotted line corresponds to which taxa required a new basis. A black dotted line (e.g. at t = 0.226) indicates that no new basis was computed, but step size needed to be reduced. Only ten metabolites varied in simulated biomass by more than 1%; five were produced by the simulated community and five were consumed. The remaining environmental metabolites did not vary in simulated biomass by more than 1%. All metabolites were initially set to the same value and an aerobic environment was simulated by constant inflow of oxygen. See the Example folder of the project repository [51] for exact simulated conditions and full simulated results.

Fig 3. A community of 10 taxa (detailed in Table 2) from soil and modeled using ModelSEED behaves according to a series of 3 interaction networks.

Fig 3

One powerful application of MetConSIN is an inspection of how the community changes its qualitative behavior as time proceeds. To illustrate the differences, we show here the networks corresponding to each significant time interval as well as a network with edges weighted by the variance of the edges across those intervals. In the three networks corresponding to time intervals, edge color represents the sign of the interaction, with red representing negative and blue representing positive, while edge thickness represents interaction strength. In the variance-weighted network, edge color represents the sign of the time-averaged interaction, while edge thickness represents variance of that interaction across the time intervals. The 10 microbial taxa and the metabolites that are significantly produced or consumed are colored to match Fig 2, and the remaining environmental metabolites are shown with as partially transparent.

Fig 4. MetConSIN can infer the metabolic activity of the 10 member community (detailed in Table 2) as represented by the emergent interactions between metabolites due to microbial metabolisms.

Fig 4

This network is not constant over time, and changes with the species-metabolite networks. These networks make clear the importance of D-Glucose (green triangle) and Oxygen (red arrowhead) as rate-limiting metabolites in the community’s metabolic activity. Here, we show the network for each significant time-interval, as well as a network with edges weighted by the variance of the edges across those intervals. In the three networks corresponding to time intervals, edge color represents the sign of the interaction, with red representing negative and blue representing positive, while edge thickness represents interaction strength. In the variance-weighted network, edge color represents the sign of the time-averaged interaction, while edge thickness represents variance of that interaction across the time intervals.

Inspecting the network can reveal interesting time-dependent interactions. For example, we notice in Fig 4 that for t ∈ [0.24, 0.42), community metabolism of D-Glucose causes consumption of Fumarate and production of Succinate. This interaction is very strong during this interval, which lies between two time-points at which the model of genome bc1012 changes its network connections, so we might guess that this interaction is mediated by that model. MetConSIN provides edge data for each edge in the network, including in the case of the metabolite-metabolite networks which microbe mediated the interaction. Inspection of this output reveals that, indeed, the model for genome bc1012 mediates the interactions between D-Glucose, Fumarate, and Succinate.

The two major transitions in the simulation both involved a series of basis-changes, meaning that one or more microbes altered their connectivity in the network, and MetConSIN can provide details as to why and how these transitions happened. For example, in the first transition, in which the model of genome bc1012 altered its connectivity, MetConSIN reports that the first transition happened because the solution violated the upper bound of glucose uptake. Prior to this transition, glucose was abundant enough that it did not limit bc1012 growth. After this transition, the constraint on glucose uptake was activated by the model along with the reaction for lactate oxidation. The second transition occurred immediately after the first, when the reaction dehydrogenating NADH violated its lower bound, causing deactivation of this reaction and the fumarate exchange upper bound constraint. The result of these internal changes can be observed in the interaction networks simply by inspecting the difference in the network edge weights (where we may assign the weight 0 to an edge that is not present in a network). The largest (in magnitude) changes were in bc1012’s production of succinate and consumption of fumarate, both of which were reduced by about 77%. We display which microbe changed its network connectivity at each transition with the style and color of the dashed lines in Fig 2 that indicate the time-points at which the transitions occurred.

MetConSIN’s analysis provides an avenue for using dynamic FBA to infer how microbes interact and how these interactions vary with community composition and over time. For example, we can infer from MetConSIN that the ten taxa whose genomes we isolated from soil behave antagonistically due to competition for resources, as seen in Fig 5(a) and 5(b).

Fig 5.

Fig 5

The models of the ten genomes isolated from soil behave antagonistically. Figure (a) shows the time-averaged antagonistic interactions of a subset of five models, while figure (b) shows the time-averaged antagonistic interactions of the ten models simulated together. Figure (c) shows the difference in the time-averaged interactions common to the two networks, with line width corresponding to absolute difference, and color corresponding to signed-difference, where bluer shades represent a stronger interaction in the five model simulation and redder shades represent a stronger interaction in the ten model simulation.

MetConSIN’s microbe-microbe interactions are based on a simple heuristic meant to identify competition and cross-feeding. This works well if an interaction between two microbes is based on a single metabolite, but simply summing the interactions is likely not the best approximation. In future work, we plan to define a more rigorous simplification of the metabolite-mediated system as a direct microbe interaction system and characterize the error of this simplification.

Our ten-member community showed only negative interactions in part because the genome-scale models that we used include the core metabolism of each taxa, making competition easy to identify, but do not include many details on the production of secondary metabolites. Secondary metabolites are compounds produced by bacteria that do not have a direct role in cell growth, but can have a profound impact on community organization [5254]. Genome-scale modeling often focuses on the core metabolism and growth of an organism, meaning that these metabolites are often missing. This omission is a major challenge for any method that seeks to use GSMs to study microbial ecology. For MetConSIN to incorporate interactions mediated by secondary metabolites, the GSMs used must already include pathways that produce these metabolites. Furthermore, FBA constraints must be carefully chosen so that models do not simply ignore secondary metabolites in favor of immediate growth. As genome-scale models improve to include secondary metabolite production, MetConSIN can likewise be improved to infer interactions from secondary metabolites.

We observe antagonistic interactions in all of the subsets of the community that we simulated in isolation, but the strength of the competition may vary with different community composition. Indeed, Fig 5(c) shows that the implied relationships emerging from competition for resources are not the same in a five-model subset of the community as when these five models are simulated as part of the larger community of 10 models.

The species-metabolite and metabolite-metabolite networks provided by MetConSIN offer mechanistic insight into the metabolic activity of microbial communities, including identification of how metabolic connections change with community composition. In Fig 6, we investigate the strengths of the various connections one model, bc1001, had in networks produced by MetConSIN for various communities involving bc1001. For example, when grown in simulated coculture with bc1016 and bc1009, bc1001 tended to form weaker network connections than when grown in other combinations. Interestingly, when bc1001 was grown in simulated coculture with bc1015 and bc1009, it formed stronger connections compared to when simulated with bc1016 and bc1009, even though switching bc1015 for bc1016 had little effect in other combinations. These connection differences are a possible mechanistic explanation for differential metabolic activity between communities, and suggest which community combinations should be prioritized in experimental design. For example, the results discussed above and displayed in Fig 6 suggest that bc1001, bc1015 and bc1009 undergo some kind of three-way interaction. Growth experiments with bc1001, bc1015 and bc1009 may therefore yield interesting results, especially if metabolomic data is collected in order to identify the three-way interactions taking place.

Fig 6. The model of genome bc1001 shows varying connections to the set of environmental metabolites when simulated in different isolated sub-communities.

Fig 6

Precisely, for each pair of communities shown involving bc1001, we computed the difference in strength (i.e. absolute value) of every connection that bc1001 had in the time-averaged MetConSIN networks for both members of the pair, using absolute edge weight in community A minus absolute edge weight in community B. The heatmap displays the average of these differences across all shared connections for a pair.

Simulation of growth experiments & empirically observed interactions

In order to assess the accuracy of the DFBA simulation underlying MetConSIN and the networks produced, we simulated a community of organisms study in Weiss et al. [55]. In that work, the authors performed paired growth experiments in order to infer a network of interactions between 12 microbial taxa found in the Oligo-Mouse-Microbiota [56, 57] by comparing paired growth to lone growth on the same media. Furthermore, the authors used metabolomics data from their growth experiments to construct genome-scale metabolic models for these 12 taxa.

We tested our method by predicting the results of the paired growth experiments using DFBA simulation and using MetConSIN to construct metabolic-based interaction networks from pairwise simulations. We then compared MetConSIN’s results to the growth data and log-ratio of pair and monoculture growth for each organism, which Weiss et al. use to infer an interaction network. These experiments revealed that DFBA has limited predictive power without model refinement, highlighting the need for interpretation to reveal the shortcomings of the underlying GSMs. DFBA predictions of the relative abundance of pair growth was often backwards, in the sense that DFBA predicted the lower-abundance microbe to be higher-abundance in the pair, as seen in Fig 7. These incorrect predictions highlight the fact that GSM reconstruction is often imperfect and focused on the core metabolism, while secondary metabolites often play a role in microbial interactions [5254].

Fig 7. DFBA simulations often failed to identify which of a pair would have higher abundance at any of the three experimental time-points.

Fig 7

For each microbe, we show the proportion of pair experiments involving that microbe for which DFBA correctly predicted the higher abundance member of the pair.

DFBA is a mechanistic model built from the underlying principles of metabolism and so its failure as a predictive model is not surprising. The main advantage of mechanistic models over better predicting (e.g. machine learning) models is their interpretability. MetConSIN provides this for DFBA with its ability to reveal the interactions implied by the GSMs provided. To demonstrate this advantage, we used MetConSIN to identify metabolite-mediated pathways that matched (in sign) the observed directionality of the effective interactions implied by comparing pairwise growth with growth in monoculture. Following Weiss et al., we determined significant interactions using the t-test to compare an organism’s growth in monoculture to its growth in a pair. For significantly different growth (p-value < 0.05) we determined directionality using the log-ratio of final time-point absolute abundance (note that Weiss et al. use the ratio, while we use the log-ratio simply so that values are mapped from (0, ∞) to (−∞, ∞)). For 32 of the 34 significant interactions, we identified metabolites that mediated interactions with the correct sign. In Fig 8, we show a heat-map of the the statistically significant interactions identified by Weiss et al. using pairwise growth experiments along with the strongest candidate mediating metabolite for that interaction as identified by MetConSIN.

Fig 8. MetConSIN is able to suggest candidate metabolites which mediate the significant interactions observed in growth experiments performed by Weiss et al.

Fig 8

Here, we show the statistically significant interactions among microbes as inferred by differences in monculture and paired growth along with a candidate metabolite that MetConSIN suggests might mediate that interaction.

Comparisons with existing methods

To our knowledge, MetConSIN is the only method available for constructing the interaction networks implied by the DFBA mathematical model. It is possible to infer a rough approximation of the networks that MetConSIN provides by simply using the fluxes computed with FBA at a single time-point. However, this has several disadvantages compared to MetConSIN. First, FBA alone cannot accurately describe the effect of each metabolite on the growth rate of each microbe (i.e. arrows from metabolite to microbe). In fact, MetConSIN demonstrates that the concentrations of many metabolites that are consumed by a microbe may be perturbed with no effect on the microbial growth rate. A more accurate picture of the interactions happening within a community at specific point in time (or, equivalently, with a specific metabolic environment) could be produced by repeatedly computing FBA solutions while perturbing metabolites, but this would be extremely computationally expensive. In contrast, MetConSIN immediately provides a picture of which metabolites actually effect the growth of the microbes in a community, i.e. the rate-limiting metabolites. Second, MetConSIN provides information about interactions not just between metabolites and microbes, but also between metabolites and metabolites as mediated by microbes. In other words, MetConSIN shows how one metabolite can be effected by changing the availability of another. Finally, MetConSIN provides details about when, how and why a network changes qualitatively as a microbial community manipulates its environment, whereas a network based directly on flux balance can only provide details for a single discrete time-point. Therefore, discovering the transition points at which a community changes its behavior (i.e. basis changes in MetConSIN) would require relatively dense sampling with FBA.

To demonstrate the difference in networks inferred directly from FBA and networks constructed by MetConSIN, we created a method to infer a network from FBA by considering the fluxes of each reaction. These fluxes indicate how a microbe affects a metabolite, and so we added edges from microbe to metabolite weighted by the value of each flux. FBA provides no obvious way to assign edges from metabolites to microbes, so we assigned an edge from a metabolite to a microbe if the microbe consumed the metabolite. This reflects the assumption that a microbe will consume only the metabolites necessary for its growth. We note that such an edge should not be interpreted in the same way as a metabolite to microbe edge inferred by MetConSIN, which indicates that the metabolite in question directly affects the growth rate of the microbe (i.e. is rate limiting). We computed MetConSIN and direct FBA networks for a sample of small (2–4 member) communities chosen randomly from the 12 soil isolates. Fig 9 shows that there is some difference in weight of shared edges between MetConSIN networks and those constructed from FBA, and that networks constructed from FBA often contain many additional edges in comparison to MetConSIN networks.

Fig 9. Networks constructed directly from the solution to FBA at a time point in simulation show some difference in edge weight edges shared with MetConSIN networks constructed for the corresponding time interval, as well as a small number of edges with the opposite sign.

Fig 9

The major observable difference between the networks is that networks constructed directly from FBA contain a many edges that are spurious in the sense that the DFBA dynamical system (Eqs (3) and (4)) does not behave according the interactions represented by these edges. This is because FBA provides no direct information about how each environmental metabolite affects the growth rate of a microbe, and so some assumption must be made. In this case, we assumed that if microbe consumes a metabolite, then this metabolite positively affects the growth of that microbe.

As a result of the choice to consider every consumption of a metabolite indicated by FBA to give an edge from metabolite to microbe, networks inferred directly from FBA imply competition for many metabolites that are not rate limiting. These competitions in turn imply strong negative interactions between microbes when this is not truely the case. Table 3 shows how MetConSIN identifies a set of species-species interactions based only on rate-limiting metabolites (note that in simulation oxygen was initially scarce), whereas Table 4 incorrectly identifies many additional interactions mediated by a host of metabolites that do not in fact limit growth of any microbe.

Table 3. MetConSIN species-species networks are based on shared interactions with the set of metabolites, and indicate which rate-limiting metabolites lead to an interaction.

Weight Metabolites
bc1002→bc1008 -0.032431 D-Glucose
bc1012→bc1008 -0.046521 D-Glucose
bc1002→bc1012 -0.152993 O2
bc1008→bc1012 -0.003430 O2
bc1008→bc1002 -0.003428 O2
bc1012→bc1002 -0.152901 O2

Table 4. Species-species networks constructed from FBA cannot identify which metabolites lead to the interaction, and instead simply list all shared metabolites.

This also introduces the illusion of competition for many resources which are plentiful enough that competition does not occur, leading to strong negative edge weights.

Weight Metabolites
bc1002→bc1008 -5570.901122 1,2-Diacyl-sn-glycerol dioctadecanoyl.4-Hydrox…
bc1012→bc1008 -7717.811684 1,2-Diacyl-sn-glycerol dioctadecanoyl.4-Hydrox…
bc1002→bc1012 -15620.771391 1,2-Diacyl-sn-glycerol dioctadecanoyl.4-Hydrox…
bc1008→bc1012 -7717.811684 1,2-Diacyl-sn-glycerol dioctadecanoyl.4-Hydrox…
bc1008→bc1002 -5570.901122 1,2-Diacyl-sn-glycerol dioctadecanoyl.4-Hydrox…
bc1012→bc1002 -15620.771391 1,2-Diacyl-sn-glycerol dioctadecanoyl.4-Hydrox…

In Brunner & Chia [23], we demonstrated the theoretical improvement offered by SurfinFBA, the DFBA algorithm at the core of MetConSIN, by showing that SurfinFBA requires far fewer linear optimizations than a direct method of solving DFBA with a standard ODE solver, as well as a similar method that also makes use of forward simulation bases [22]. We used this metric of performance because it allows us to compare the theoretical algorithms behind available solvers, regardless of improvements gained by choice of language or code optimization.

In order to benchmark the time improvements provided by SurfinFBA and demonstrate that the solutions provided are similar to a direct repeated optimization approach, we implemented a direct solve method using scipy’s solve_ivp function [58]. This is fundamentally the same as the method suggested in the documentation of the CobraPy Toolbox [59]. We simulated the DFBA problem using MetConSIN and the direct method for a sample of small (2–4 member) communities chosen randomly from the 12 soil isolates. In Fig 10, we show that SurfinFBA is indeed faster than the direct method and that solutions are very similar, with some slight error.

Fig 10. Simulating with SurfinFBA (our simulation algorithm that is included in MetConSIN) was about 10 times faster than simulating using a direct method.

Fig 10

Solutions were generally very similar. Here, we present the time- and taxa-averaged absolute difference in simulation of microbes and time- and metabolite-averaged absolute difference in simulation of metabolites, relative to the max of the two simulations.

As an alternative to networks based directly on the solution to flux balance analysis, it is possible to construct a network of interactions between microbes by simulating knock-out or paired-growth experiments with community FBA approaches like SteadyCom [19] or MICOM [60]. However, this approach does not provide details about the interactions between microbes and metabolites, and assumes the community to be at equilibrium. Likewise, other DFBA tools, for example COMETS [61], can be used to infer some interactions by simulation of organisms in different combinations and with in-silico genetic modifications. In this way, COMETS was used to infer interactions within small 2 and 3 member communities [61]. However, this approach required repeated simulation to show that all community members needed to be present for growth and thus interactions were taking place, and inference of the interactions themselves was based on foreknowledge that allowed simulated gene knockout experiments. In contrast, MetConSIN, infers interactions from a single simulation without a need for further simulated experimentation to determine the details of the interactions.

Other DFBA tools are, with one notable exception, built on direct simulation by repeated optimization, using either Euler’s method [62] or more sophisticated integration methods, as is suggested by the documentation of CobraPY [63]. For example, the popular COMETS tool [64] uses Euler’s method with direct optimizations to simulate DFBA and integrates this into a spatial simulation. Likewise, D-Optcom [21] uses Euler’s method to solve a dynamic problem related to DFBA which includes community-wide optimization. The exception to this rule is a pair of tools based on the method of Höffner et al. [65], a MatLab-based tool called DFBALab [66] and a python package called dfba [67]. The method described by Höffner is similar to SurfinFBA, although it differs in how bases are chosen for forward simulation. Unfortunately, DFBALab is currently not publicly available, and dfba does not to our knowledge allow for simulation of communities of more than one GEM.

Limitations of DFBA & MetConSIN

DFBA provides a model for the population dynamics of microbial communities by leveraging genomic data. This means that dense time-longitudinal data is not required for simulation. Despite this important advantage, the usefulness of the DFBA model is limited. This is because a thorough qualitative analysis of the resulting dynamical simulation is often impractical due to the system’s complexity. MetConSIN achieves an important step forward in analyzing DFBA simulations by organizing the complexity of DFBA into a sequence of interaction networks, which are more familiar and readily understood. This tool therefore gives researchers the power to infer important characteristics of the dynamic metabolic activity of a microbial community from genomic data.

MetConSIN depends on dynamic flux balance analysis and the genome-scale metabolic models that define that system. While this does mean that MetConSIN is essentially limited by the quality of the GSMs used, it also means that MetConSIN provides a method by which to assess the quality of these models. With high-quality GSMs, MetConSIN provides the ability to create qualitative predictions about community metabolic activity which can be used to generate testable hypotheses. MetConSIN can created testable hypotheses about the (1) resource competition and (2) community assembly dynamics in our synthetic communities. Furthermore, with MetConSIN, the accuracy of these hypotheses can be used to judge the usefulness of and ways to improve the underlying GSMs. Furthermore, MetConSIN provides a pathway for improving GSMs by comparing simulation to other “omics” data, e.g. metabolomics.

In the in silico experiments we performed with our 10 soil isolates, we lacked detailed information about an environment on which the interactions would take place. We assumed that every metabolite that the models could make use of was available, and calculated interactions based on this “uniform” media. For more precise study of known systems, the model can be constrained by information about the available environmental metabolites, e.g. using metabolomics data. We demonstrate this with our experiments using the data from Weiss et al. [55], in which the authors used metabolomic data to define a model environment. Alternatively, when modeling a well studied environment, environmental information can at times be found in the literature. In particular, the Virtual Metabolic Human project [68] define a number of environments corresponding to common human diets (e.g. “E.U. Average” or “High Fiber”).

Higher-order interactions within microbial communities likely play an important role in community organization [69, 70]. However, the species-species interaction networks that we provide are fundamentally pairwise, and lack the capacity to convey the higher-order interactions that may be implied by the species-metabolite networks they are built from. In fact, any species-species model will lack the complexity necessary to reflect the possible interactions of a species-metabolite model [40, 41]. However, MetConSIN includes not just a single network, but a series of them. This means that it has the capacity to capture higher-order interactions that emerge from the transitions between network structure. These represent changes in pairwise interactions caused by the actions of the community. Inferring higher order interactions or “effective” pairwise interactions that include higher-order effects [71] directly from the series of MetConSIN species-metabolite networks remains an ongoing area of research. We note also that higher-order effects are often mediated by secondary metabolites [54], which may be missing from the GSMs input into MetConSIN. Improving GSMs and automatic generation of GSMs remains an active area of research, and MetConSIN will benefit immediately from any improvements made in that area.

In addition to limitations of the underlying GSMs, interpretation of MetConSIN’s results must also account for the inherent limitations of flux balance analysis. Whenever FBA is computed, it is possible that the optimal set of fluxes found is not unique. Like many methods based on FBA, MetConSIN attempts to mitigate this problem with a secondary optimization, by default minimizing the total flux through the metabolism of each taxa. Unlike other dynamic FBA methods, which must choose between non-unique solutions at every time-step, MetConSIN must only choose between optima at the very initial point of the simulation. However, MetConSIN will encounter non-uniqueness of the choice of basis for forward simulation at its discrete optimization (basis-change) time-points, meaning the resulting ODEs and networks are also non-unique. When this happens, the optimal solution found by MetConSIN is known as “degenerate”, and it is exactly when the solution is degenerate that MetConSIN may change basis—without this degeneracy there would be no alternative basis to switch to. If only one possible basis allows forward simulation, MetConSIN will choose that basis and resulting networks. However, if the choice of basis is still non-unique even when constrained to allow forward simulation, MetConSIN chooses a basis by attempting to maximize the time until another basis is needed (details of this maximization can be found in supporting file S1 Text). This maximization is based on local (in time) information available to MetConSIN, reflecting the idea that a microbe will choose a strategy that will be more likely to work for a longer time based on the systems current state.

Ultimately, MetConSIN provides a rigorous interpretation of DFBA that emerges directly from the dynamics of the system. This tool is an important step in increasing the utility of genomic data and COBRA methods in the study of microbial communities and their impact on their environment.

Supporting information

S1 Table. Details of soil isolate sequencing experiments.

(CSV)

S1 Text. Technical details of SurfinFBA.

(PDF)

Acknowledgments

The authors would like to acknowledge the technical assistance of Thomas C. Biondi in this work.

Data Availability

The genomes used in this work have been made available on the NCBI GenBank with accession numbers listed in S1 Table. All code for the method, as well as genome-scale models for the 10 genomes, is available at https://github.com/lanl/metconsin.

Funding Statement

JDB, LAGG, and MEK were supported by the U.S. Department of Energy Biological System Science Division Science Focus Area Grant 2019SFAF255 (PI: MEK). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Hale VL, Jeraldo P, Chen J, Mundy M, Yao J, Priya S, et al. Distinct microbes, metabolites, and ecologies define the microbiome in deficient and proficient mismatch repair colorectal cancers. Genome Medicine. 2018;10(1):78. doi: 10.1186/s13073-018-0586-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Braundmeier AG, Lenz KM, Inman KS, Chia N, Jeraldo P, Walther-António MRS, et al. Individualized medicine and the microbiome in reproductive tract. Frontiers in Physiology. 2015;6:97. doi: 10.3389/fphys.2015.00097 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Calcinotto A, Brevi A, Chesi M, Ferrarese R, Perez LG, Grioni M, et al. Microbiota-driven interleukin-17-producing cells and eosinophils synergize to accelerate multiple myeloma progression. Nature communications. 2018;9(1):4832. doi: 10.1038/s41467-018-07305-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Walsh DM, Mert I, Chen J, Hou X, Weroha SJ, Chia N, et al. The Role of Microbiota in Human Reproductive Tract Cancers. In: AMERICAN JOURNAL OF PHYSICAL ANTHROPOLOGY. vol. 168. WILEY 111 RIVER ST, HOBOKEN 07030-5774, NJ USA; 2019. p. 260–261. [Google Scholar]
  • 5. Flemer B, Lynch DB, Brown JM, Jeffery IB, Ryan FJ, Claesson MJ, et al. Tumour-associated and non-tumour-associated microbiota in colorectal cancer. Gut. 2017;66(4):633–643. doi: 10.1136/gutjnl-2015-309595 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Ng KM, Ferreyra JA, Higginbottom SK, Lynch JB, Kashyap PC, Gopinath S, et al. Microbiota-liberated host sugars facilitate post-antibiotic expansion of enteric pathogens. Nature. 2013;502:96 EP –. doi: 10.1038/nature12503 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Round JL, Mazmanian SK. The gut microbiota shapes intestinal immune responses during health and disease. Nature Reviews Immunology. 2009;9:313 EP –. doi: 10.1038/nri2515 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Kroeger ME, Rae DeVan M, Thompson J, Johansen R, Gallegos-Graves LV, Lopez D, et al. Microbial community composition controls carbon flux across litter types in early phase of litter decomposition. Environmental Microbiology. 2021;23(11):6676–6693. doi: 10.1111/1462-2920.15705 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Arif I, Batool M, Schenk PM. Plant microbiome engineering: expected benefits for improved crop growth and resilience. Trends in Biotechnology. 2020;38(12):1385–1396. doi: 10.1016/j.tibtech.2020.04.015 [DOI] [PubMed] [Google Scholar]
  • 10. Ali S, Tyagi A, Park S, Mir RA, Mushtaq M, Bhat B, et al. Deciphering the plant microbiome to improve drought tolerance: mechanisms and perspectives. Environmental and Experimental Botany. 2022; p. 104933. doi: 10.1016/j.envexpbot.2022.104933 [DOI] [Google Scholar]
  • 11. Albright MB, Sevanto S, Gallegos-Graves LV, Dunbar J. Biotic interactions are more important than propagule pressure in microbial community invasions. Mbio. 2020;11(5):e02089–20. doi: 10.1128/mBio.02089-20 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Lewis NE, Nagarajan H, Palsson BO. Constraining the metabolic genotype–phenotype relationship using a phylogeny of in silico methods. Nature Reviews Microbiology. 2012;10:291 EP –. doi: 10.1038/nrmicro2737 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Gottstein W, Olivier BG, Bruggeman FJ, Teusink B. Constraint-based stoichiometric modelling from single organisms to microbial communities. Journal of the Royal Society Interface. 2016;13(124):20160627. doi: 10.1098/rsif.2016.0627 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Mendes-Soares H, Mundy M, Soares LM, Chia N. MMinte: an application for predicting metabolic interactions among the microbial species in a community. BMC Bioinformatics. 2016;17(1):343. doi: 10.1186/s12859-016-1230-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Heinken A, Basile A, Thiele I. Advances in constraint-based modelling of microbial communities. Current Opinion in Systems Biology. 2021;27:100346. doi: 10.1016/j.coisb.2021.05.007 [DOI] [Google Scholar]
  • 16. Jenior ML, Leslie JL, Powers DA, Garrett EM, Walker KA, Dickenson ME, et al. Novel drivers of virulence in Clostridioides difficile identified via context-specific metabolic network analysis. Msystems. 2021;6(5):e00919–21. doi: 10.1128/mSystems.00919-21 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Dvoretsky D, Temnov M, Markin I, Ustinskaya YV, Es’ kova M. Problems in the Development of Efficient Biotechnology for the Synthesis of Valuable Components from Microalgae Biomass. Theoretical Foundations of Chemical Engineering. 2022;56(4):425–439. doi: 10.1134/S0040579522040224 [DOI] [Google Scholar]
  • 18. Zomorrodi AR, Maranas CD. OptCom: a multi-level optimization framework for the metabolic modeling and analysis of microbial communities. PLoS computational biology. 2012;8(2). doi: 10.1371/journal.pcbi.1002363 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Chan SHJ, Simons MN, Maranas CD. SteadyCom: predicting microbial abundances while ensuring community stability. PLoS computational biology. 2017;13(5):e1005539. doi: 10.1371/journal.pcbi.1005539 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Diener C, Gibbons SM, Resendis-Antonio O. MICOM: metagenome-scale modeling to infer metabolic interactions in the gut microbiota. MSystems. 2020;5(1):e00606–19. doi: 10.1128/mSystems.00606-19 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Zomorrodi AR, Islam MM, Maranas CD. d-OptCom: Dynamic Multi-level and Multi-objective Metabolic Modeling of Microbial Communities. ACS Synthetic Biology. 2014;3(4):247–257. doi: 10.1021/sb4001307 [DOI] [PubMed] [Google Scholar]
  • 22. Höffner K, Harwood SM, Barton PI. A reliable simulator for dynamic flux balance analysis. Biotechnology and Bioengineering. 2012;110(3):792–802. [DOI] [PubMed] [Google Scholar]
  • 23. Brunner JD, Chia N. Minimizing the number of optimizations for efficient community dynamic flux balance analysis. PLoS computational biology. 2020;16(9):e1007786. doi: 10.1371/journal.pcbi.1007786 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Dillard LR, Payne DD, Papin JA. Mechanistic models of microbial community metabolism. Molecular Omics. 2021;17(3):365–375. doi: 10.1039/d0mo00154f [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Heinken A, Basile A, Hertel J, Thinnes C, Thiele I. Genome-scale metabolic modeling of the human microbiome in the era of personalized medicine. Annual Review of Microbiology. 2021;75:199–222. doi: 10.1146/annurev-micro-060221-012134 [DOI] [PubMed] [Google Scholar]
  • 26. Lloyd CJ, King ZA, Sandberg TE, Hefner Y, Olson CA, Phaneuf PV, et al. The genetic basis for adaptation of model-designed syntrophic co-cultures. PLoS computational biology. 2019;15(3):e1006213. doi: 10.1371/journal.pcbi.1006213 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. Koch S, Kohrs F, Lahmann P, Bissinger T, Wendschuh S, Benndorf D, et al. RedCom: A strategy for reduced metabolic modeling of complex microbial communities and its application for analyzing experimental datasets from anaerobic digestion. PLoS computational biology. 2019;15(2):e1006759. doi: 10.1371/journal.pcbi.1006759 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Layeghifard M, Hwang DM, Guttman DS. Disentangling interactions in the microbiome: a network perspective. Trends in microbiology. 2017;25(3):217–228. doi: 10.1016/j.tim.2016.11.008 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29. Wang Q, Nute M, Treangen T. Bakdrive: Identifying the Minimum Set of Bacterial Driver Species across Multiple Microbial Communities. bioRxiv. 2021;. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Fisher CK, Mehta P. Identifying keystone species in the human gut microbiome from metagenomic timeseries using sparse linear regression. PloS one. 2014;9(7):e102451. doi: 10.1371/journal.pone.0102451 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Cheng R, Wang L, Le S, Yang Y, Zhao C, Zhang X, et al. A randomized controlled trial for response of microbiome network to exercise and diet intervention in patients with nonalcoholic fatty liver disease. Nature Communications. 2022;13(1):2555. doi: 10.1038/s41467-022-29968-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Romdhane S, Spor A, Banerjee S, Breuil MC, Bru D, Chabbi A, et al. Land-use intensification differentially affects bacterial, fungal and protist communities and decreases microbiome network complexity. Environmental Microbiome. 2022;17(1):1–15. doi: 10.1186/s40793-021-00396-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Friedman J, Alm EJ. Inferring correlation networks from genomic survey data. PLoS computational biology. 2012;8(9):e1002687. doi: 10.1371/journal.pcbi.1002687 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Kurtz ZD, Müller CL, Miraldi ER, Littman DR, Blaser MJ, Bonneau RA. Sparse and compositionally robust inference of microbial ecological networks. PLoS computational biology. 2015;11(5):e1004226. doi: 10.1371/journal.pcbi.1004226 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Chiquet J, Robin S, Mariadassou M. Variational Inference for sparse network reconstruction from count data. In: Chaudhuri K, Salakhutdinov R, editors. Proceedings of the 36th International Conference on Machine Learning. vol. 97 of Proceedings of Machine Learning Research. PMLR; 2019. p. 1162–1171. Available from: https://proceedings.mlr.press/v97/chiquet19a.html.
  • 36. Bucci V, Tzen B, Li N, Simmons M, Tanoue T, Bogart E, et al. MDSINE: Microbial Dynamical Systems INference Engine for microbiome time-series analyses. Genome biology. 2016;17:1–17. doi: 10.1186/s13059-016-0980-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Barroso-Bergada D, Tamaddoni-Nezhad A, Muggleton SH, Vacher C, Galic N, Bohan DA. Machine learning of microbial interactions using abductive ILP and hypothesis frequency/compression estimation. In: Inductive Logic Programming: 30th International Conference, ILP 2021, Virtual Event, October 25–27, 2021, Proceedings. Springer; 2022. p. 26–40.
  • 38. DiMucci D, Kon M, Segrè D. Machine learning reveals missing edges and putative interaction mechanisms in microbial ecosystem networks. Msystems. 2018;3(5):e00181–18. doi: 10.1128/mSystems.00181-18 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. San León D, Nogales J. Toward merging bottom–up and top–down model-based designing of synthetic microbial communities. Current Opinion in Microbiology. 2022;69:102169. doi: 10.1016/j.mib.2022.102169 [DOI] [PubMed] [Google Scholar]
  • 40. Momeni B, Xie L, Shou W. Lotka-Volterra pairwise modeling fails to capture diverse pairwise microbial interactions. Elife. 2017;6:e25051. doi: 10.7554/eLife.25051 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41. Brunner JD, Chia N. Metabolite-mediated modelling of microbial community dynamics captures emergent behaviour more effectively than species–species modelling. Journal of the Royal Society Interface. 2019;16(159):20190423. doi: 10.1098/rsif.2019.0423 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42. Machado D, Andrejev S, Tramontano M, Patil KR. Fast automated reconstruction of genome-scale metabolic models for microbial species and communities. Nucleic acids research. 2018;46(15):7542–7553. doi: 10.1093/nar/gky537 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Seaver SM, Liu F, Zhang Q, Jeffryes J, Faria JP, Edirisinghe JN, et al. The ModelSEED Biochemistry Database for the integration of metabolic annotations and the reconstruction, comparison and analysis of metabolic models for plants, fungi and microbes. Nucleic acids research. 2021;49(D1):D575–D588. doi: 10.1093/nar/gkaa746 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Tardella F. The fundamental theorem of linear programming: extensions and applications. Optimization. 2011;60(1-2):283–301. doi: 10.1080/02331934.2010.506535 [DOI] [Google Scholar]
  • 45. Horn F, Jackson R. General mass action kinetics. Archive for Rational Mechanics and Analysis. 1972;47. doi: 10.1007/BF00251225 [DOI] [Google Scholar]
  • 46. Feinberg M, Horn F. Dynamics of open chemical systems and the algebraic structure of the underlying reaction network. Chemical Engineering Science. 1973;29:775–787. doi: 10.1016/0009-2509(74)80195-8 [DOI] [Google Scholar]
  • 47. Brunner JD, Craciun G. Robust Persistence and Permanence of Polynomial and Power Law Dynamical Systems. SIAM Journal on Applied Mathematics. 2018;78(2):801–825. doi: 10.1137/17M1133762 [DOI] [Google Scholar]
  • 48. Anderson DF, Brunner JD, Craciun G, Johnston MD. On classes of reaction networks and their associated polynomial dynamical systems. Journal of Mathematical Chemistry. 2020;58:1895–1925. doi: 10.1007/s10910-020-01148-9 [DOI] [Google Scholar]
  • 49. Steven B, Gallegos-Graves LV, Belnap J, Kuske CR. Dryland soil microbial communities display spatial biogeographic patterns associated with soil depth and soil parent material. FEMS microbiology ecology. 2013;86(1):101–113. doi: 10.1111/1574-6941.12143 [DOI] [PubMed] [Google Scholar]
  • 50. Arkin AP, Cottingham RW, Henry CS, Harris NL, Stevens RL, Maslov S, et al. KBase: the United States department of energy systems biology knowledgebase. Nature biotechnology. 2018;36(7):566–569. doi: 10.1038/nbt.4163 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Brunner JD. MetConSIN; 2023. https://github.com/lanl/metconsin.
  • 52. Tyc O, Song C, Dickschat JS, Vos M, Garbeva P. The ecological role of volatile and soluble secondary metabolites produced by soil bacteria. Trends in microbiology. 2017;25(4):280–292. doi: 10.1016/j.tim.2016.12.002 [DOI] [PubMed] [Google Scholar]
  • 53. Torres Salazar BO, Heilbronner S, Peschel A, Krismer B. Secondary metabolites governing microbiome interaction of staphylococcal pathogens and commensals. Microbial Physiology. 2021;31(3):198–216. doi: 10.1159/000517082 [DOI] [PubMed] [Google Scholar]
  • 54. Chevrette MG, Thomas CS, Hurley A, Rosario-Meléndez N, Sankaran K, Tu Y, et al. Microbiome composition modulates secondary metabolism in a multispecies bacterial community. Proceedings of the National Academy of Sciences. 2022;119(42):e2212930119. doi: 10.1073/pnas.2212930119 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55. Weiss AS, Burrichter AG, Durai Raj AC, von Strempel A, Meng C, Kleigrewe K, et al. In vitro interaction network of a synthetic gut bacterial community. The ISME journal. 2022;16(4):1095–1109. doi: 10.1038/s41396-021-01153-z [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56. Brugiroux S, Beutler M, Pfann C, Garzetti D, Ruscheweyh HJ, Ring D, et al. Genome-guided design of a defined mouse microbiota that confers colonization resistance against Salmonella enterica serovar Typhimurium. Nature microbiology. 2016;2(2):1–12. doi: 10.1038/nmicrobiol.2016.215 [DOI] [PubMed] [Google Scholar]
  • 57. Eberl C, Ring D, Münch PC, Beutler M, Basic M, Slack EC, et al. Reproducible colonization of germ-free mice with the oligo-mouse-microbiota in different animal facilities. Frontiers in microbiology. 2020;10:2999. doi: 10.3389/fmicb.2019.02999 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58. Virtanen P, Gommers R, Oliphant TE, Haberland M, Reddy T, Cournapeau D, et al. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods. 2020;17:261–272. doi: 10.1038/s41592-019-0686-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Heirendt L, Arreckx S, Pfau T, Mendoza S, Richelle A, Heinken A, et al. Creation and analysis of biochemical constraint-based models: the COBRA toolbox v3. 0. arXiv. arXiv preprint arXiv:171004038. 2017;. [DOI] [PMC free article] [PubMed]
  • 60. Diener C, Resendis-Antonio O. Micom: metagenome-scale modeling to infer metabolic interactions in the microbiota. bioRxiv. 2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61. Harcombe WR, Riehl WJ, Dukovski I, Granger BR, Betts A, Lang AH, et al. Metabolic Resource Allocation in Individual Microbes Determines Ecosystem Interactions and Spatial Dynamics. Cell Reports. 2014;7(4):1104–1115. doi: 10.1016/j.celrep.2014.03.070 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62. Varma A, Palsson BO. Stoichiometric flux balance models quantitatively predict growth and metabolic by-product secretion in wild-type Escherichia coli W3110. Applied and Environmental Microbiology. 1994;60(10):3724–3731. doi: 10.1128/aem.60.10.3724-3731.1994 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63. Ebrahim A, Lerman JA, Palsson BO, Hyduke DR. COBRApy: constraints-based reconstruction and analysis for python. BMC systems biology. 2013;7:1–6. doi: 10.1186/1752-0509-7-74 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64. Dukovski I, Bajić D, Chacón JM, Quintin M, Vila JC, Sulheim S, et al. A metabolic modeling platform for the computation of microbial ecosystems in time and space (COMETS). Nature protocols. 2021;16(11):5030–5082. doi: 10.1038/s41596-021-00593-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65. Höffner K, Harwood SM, Barton PI. A reliable simulator for dynamic flux balance analysis. Biotechnology and Bioengineering. 2012;110(3):792–802. [DOI] [PubMed] [Google Scholar]
  • 66. Gomez JA, Höffner K, Barton PI. DFBAlab: a fast and reliable MATLAB code for dynamic flux balance analysis. BMC bioinformatics. 2014;15(1):409. doi: 10.1186/s12859-014-0409-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67.Tourigny DS, Muriel JC, Beber ME. dfba: Software for efficient simulation of dynamic flux-balance analysis models in Python; 2020. https://gitlab.com/davidtourigny/dynamic-fba.
  • 68. Noronha A, Modamio J, Jarosz Y, Guerard E, Sompairac N, Preciat G, et al. The Virtual Metabolic Human database: integrating human and gut microbiome metabolism with nutrition and disease. Nucleic acids research. 2019;47(D1):D614–D624. doi: 10.1093/nar/gky992 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69. Billick I, Case TJ. Higher Order Interactions in Ecological Communities: What Are They and How Can They be Detected? Ecology. 1994;75(6):1529–1543. doi: 10.2307/1939614 [DOI] [Google Scholar]
  • 70. Gould AL, Zhang V, Lamberti L, Jones EW, Obadia B, Korasidis N, et al. Microbiome interactions shape host fitness. Proceedings of the National Academy of Sciences. 2018;115(51):E11951–E11960. doi: 10.1073/pnas.1809349115 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71. Ansari AF, Reddy YB, Raut J, Dixit NM. An efficient and scalable top-down method for predicting structures of microbial communities. Nature Computational Science. 2021;1(9):619–628. doi: 10.1038/s43588-021-00131-x [DOI] [PubMed] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1011661.r001

Decision Letter 0

Stacey D Finley, Sunil Laxman

13 Sep 2023

Dear Dr. Brunner,

Thank you very much for submitting your manuscript "Inferring microbial interactions with their environment from genomic and metagenomic data" for consideration at PLOS Computational Biology.

As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments.

While all the major concerns raised by the reviewers need to be addressed, there are two major points that must be addressed thoroughly. The first is with respect to benchmarking, and importantly how this  method compares with existing methods, particularly the dynamic FBA models now widely used. While a 10-member community may be cumbersome to solve, a smaller community could be studied to establish the similarities and differences between the present method and the existing formalisms. Second, a comparison of how the interaction networks differ between their smooth simulations and numerical solvers would be critical to address.

We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts.

Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Sunil Laxman, PhD

Academic Editor

PLOS Computational Biology

Stacey Finley

Section Editor

PLOS Computational Biology

***********************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: Summary

The authors provide a tool – MetConSIN (Metabolically Contextualized Species Interaction Networks) - to efficiently simulate community metabolism in an interpretable way. Computational efficiency is achieved by reducing the number of optimizations performed to calculate the optimal flux in the metabolic network through the transformation of the linear programming problem to a set of differential equations, who’s solution can be carried forward in time without the need to re-optimize the parameters of the problem. This computational transformation also paves the way for the second, and main contribution of the new tool, which is interpretability. Because the transformation effectively produces an interaction network between organisms and metabolites, this allows for an immediate visual understanding of the causal interactions leading to metabolite, and ultimately species dynamics in the community.

Major comments

While I see no technical flaw in this work, I simply do not think it is innovative enough to warrant publication in a journal like PLoS Computational Biology. Many other tools exist that perform similar analysis of genome-scale metabolic models. In fact, excellent tools exists, such as COMETS (which is not cited here for some reason, and I am also not an author of), that are scalable (a major novelty claim in this paper) and even offer spatially resolved simulations. Specifically, COMETS automatically offers similar analysis, where the major difference is the automatic creation of interaction networks in MetConSIN, which is, in my opinion, not enough to warrant publication in a non-specialized journal. The authors also offer no comparison with existing methods (which was done in their previous publication) or with real world data, which make this paper quite “thin”. A comparison of how the interaction networks differ between their smooth simulations and numerical solvers would go a long way.

Finally, I think the figures with the networks would benefit from simplification. All of the nodes that are only connected by insignificant links (grey) could be removed, where the full network would be found in some supplementary figure. This would make reading the labels much easier and the interpretation and comparison of the different panels much easier, in my opinion.

Minor Comments

Line 146: Should it be “with non-decreasing c_ij^2 (y_j)”?

Line 184: non -> not

Line 340: Delete the word “in” in the sentence containing “but the strength of the competition may vary in with different”

Reviewer #2: The authors developed a mathematical approach that can extract microbe-metabolite interaction network from dynamic flux balance analysis (dFBA). This approach is based on their previous method to convert dFBA into piecewise ODEs. Various networks were constructed by interpreting the structure of ODEs. This is very interesting approach and I am very excited about it. I only have a few minor comments:

1. Each optimization step in dFBA is not unique in terms of which metabolites are consumed and produced. Are the equivalent ODEs unique or not? I am not familiar with the details of SurfinFBA; I guess the uniqueness maybe related to the choice of index set B. Since the reconstructed metabolic networks are derived from these ODEs, are they unique or not? It would be great if the authors add a comprehensive discussion about the uniqueness of dFBA, equivalent ODEs, and the reconstructed networks.

2. The rationale of developing this approach needs to be better explained. The optimal solution at each time point in dFBA depicts a community-level metabolic network: the exchanged metabolites of each GSM are known and their rates are quantitatively solved. Then why did the authors develop an indirect method to infer the network which requires conversion of dFBA to ODEs? I understand that ODEs are way easier to solve than dFBA but, in terms of network construction, how do you compare the pros and cons of the two approaches? And how different are between the metabolic networks inferred between the two approaches?

3. Both dFBA and ODEs are first-principle approaches. It would be super interesting if the approach can be extended to introduce constraints from metabolomics data. Could you discuss the possibility of integrating dFBA/ODEs with metabolomics data to infer realistic metabolic networks?

Reviewer #3: In this paper, the authors develop a nice method to perform dynamic FBA on multispecies microbial communities that is efficient and offers a time varying view of the interactions underlying the species and metabolites. Current dynamic FBA methods are time consuming and typically fail to offer insights into the interactions governing the dynamics. The present method overcomes both these limitations. The conceptual advance is in recognizing that the optimization problem governing FBA can be mapped to a system of linear equations and hence translated to a system of ODEs with parameters that remain constant over finite subintervals of time. The parameters change when metabolite concentrations change enough to violate the constraints on the original FBA problem. The authors present an elegant description of this new formalism and a software, MetConSIN, for implementing it. They apply it to a set of 10 soil microbial species, whose genomes they identify by sequencing and then construct genome scale metabolic models of each of the species to be used in MetConSIN. They deduce the interactions governing the species and the regimes over which the networks change.

The proposed method, in my opinion, represents a significant advance over existing methods because of its ability to offer time varying interaction maps and hence insights not readily gained by existing methods. The computational gains are a bonus.

The paper is well written overall. I have a few comments for the authors to consider.

Major comments:

1. My first comment is with respect to benchmarking. While the authors demonstrate the applicability of their method to the 10-member soil community, they do not show how their method compares with existing methods, particularly the dynamic FBA set up in Eqs. (1)-(4). Are the time courses predicted in Fig. 2 similar to what might be expected from Eqs. (1)-(4)? If the 10-member community is cumbersome to solve, can a smaller subcommunity – even a 2 member community – be studied to establish the similarities and differences between the present method and the existing formalisms?

2. Along the same lines, is a comparison with any experimental system feasible? The authors seem to have cultured the 10-members they studied. Could their growth rates be monitored in multi-species cultures and then compared with corresponding model predictions? If co-culturing is not possible, are other previously published datasets amenable to comparisons with the present model? If this not possible too, the authors must discuss this and mention explicitly what prevents comparisons with experiments. The difficulty may exist with current methods too, in which case, this may not be a limitation of the present study alone, but it must be discussed nonetheless.

3. The analysis of the interaction networks and their evolution (Figs 2-4) is very nice. It highlights the strength of the method. I felt though that the interpretation of the transitions seen seemed somewhat superficial. The authors mention that the first transition is when bc1012 altered its connectivity three times in quick succession (lines 286-288). They, however, do not provide any explanation of these changes in connectivity. Thus, while knowledge of these transitions is indeed an advance over existing models and is thus welcome, a mechanistic understanding of the transitions based on the metabolic models of the species and the nutrients available could have been more satisfying. Are these explanations forthcoming? If not, the authors must discuss why.

4. My final comment is on the way interactions between species are deduced (Eq. 13). Pairs of species are chosen and their interactions mediated by metabolites are summed with suitable weights to yield the net interactions between the species. This method yields pairwise interactions. However, species often experience high-order interactions (e.g., see: 1) https://www.pnas.org/doi/10.1073/pnas.1809349115; 2) https://www.nature.com/articles/s43588-021-00131-x). Does the present method thus miss these high-order interactions? Because the dynamic FBA formalism does not make any assumptions on the interactions but only deduces them, any high-order interactions present must exist in the model calculations. The deduction method may have to be changed to consider triplets of species, quadruplets of species, etc. (instead of just pairs) in order to deduce third-order, fourth-order, etc. interactions. I wonder if currently, the pairwise interactions deduced yield ‘effective’ pairwise interactions, as has been suggested in the recent study above (https://www.nature.com/articles/s43588-021-00131-x)? Again, I feel that the authors must at least comment on high-order interactions, given their possible presence in multi-species communities and the focus of the present study on deducing interaction networks.

Minor comment:

1. On lines 126-131, the authors indicate that the method to choose the matrices (Bik) are outlined elsewhere. For completeness, I feel that the authors may wish to provide a brief outline of how this choice is made.

2. On lines 140-142, the authors mention that holding the metabolite levels constant would yield a snapshot of the interaction may between the species. Could this be shown? Also, I would imagine that the species compositions would evolve with time even if the metabolite levels were held constant. Then, would the interaction map not also change? The authors may wish to comment on this.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Reviewer #3: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1011661.r003

Decision Letter 1

Stacey D Finley, Sunil Laxman

4 Nov 2023

Dear Dr. Brunner,

We are pleased to inform you that your manuscript 'Inferring microbial interactions with their environment from genomic and metagenomic data' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Sunil Laxman, PhD

Academic Editor

PLOS Computational Biology

Stacey Finley

Section Editor

PLOS Computational Biology

***********************************************************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: The authors addressed all of my concerns and I have no further comments.

Reviewer #3: I am impressed with the work that the authors have done to address my concerns. I am quite satisfied with their responses and have no further comments.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #3: No

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1011661.r004

Acceptance letter

Stacey D Finley, Sunil Laxman

9 Nov 2023

PCOMPBIOL-D-23-01066R1

Inferring microbial interactions with their environment from genomic and metagenomic data

Dear Dr Brunner,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Anita Estes

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Table. Details of soil isolate sequencing experiments.

    (CSV)

    S1 Text. Technical details of SurfinFBA.

    (PDF)

    Attachment

    Submitted filename: response.pdf

    Data Availability Statement

    The genomes used in this work have been made available on the NCBI GenBank with accession numbers listed in S1 Table. All code for the method, as well as genome-scale models for the 10 genomes, is available at https://github.com/lanl/metconsin.


    Articles from PLOS Computational Biology are provided here courtesy of PLOS

    RESOURCES