Download Microbial Community Modeler 1.3 - User Manual -

Transcript
MCM 1.4.1 User Manual
10 Example 1 - Simulating a single-species model
unset. Individual Monte Carlo simulations are only saved if the flag UA_saveIntermediateSimulations
is set. The amount of information printed out during UA is controlled via UA_verbosity.
Technical note: Since UA is based on random Monte Carlo simulations, the outcome will vary each time UA is performed,
particularly when UA_MonteCarloTrials is low. To ensure independent results among repeated UAs, you should randomize
MCM’s random number generator prior to UAMCM using the command seed.
10
Example 1 - Simulating a single-species model
In the following step-by-step example, we will setup and run a single-species simulation of Escherichia
coli strain K-12 MG1655 growing on minimal medium. We will be using the metabolic model iAF1260
by Feist et al. [26], obtained from the group’s website (file Ec_iAF1260_flux1.xml as of Sept. 13, 2014;
potentially also included with this manual). Oxygen will be the limiting resource, and in the course of its
depletion cell metabolism will shift from aerobic respiration to fermentative growth, producing ethanol
as a byproduct. Eventually, increased ethanol levels will lead to stagnation of growth and culture death.
10.1
Configuring the model
We start by converting the E. coli SBML model file (Ec_iAF1260_flux1.xml) into a draft model compatible with MCM, using the included python script micog (see section 5.15 for details). Since we are only
converting one SBML, our model will consist of one cell species including all reactions. In the terminal
the appropriate command might look as follows:
micog.py -i Ec_iAF1260_flux1.xml\
-o microbial_community_01\
--output_rate_units mol_per_cell_per_day\
--objective original\
--cell_mass 2.8e-13\
--cell_concentration 1e3\
--environmental_metabolite_dynamics "concentration 0"
click here for source code
The first two options (-i and -o) define the input file and output directory, respectively. The option
–output_rate_units specifies the rate units to be used for the model (this must always be mol_per_cell_per_day).
We set –objective to original because iAF1260 already defines the objective in terms of biomass synthesis. Since iAF1260 defines rates with respect to dry biomass, we need to provide micog with the dry
cell mass (2.8 × 10−13 g) in order to convert these to cell-specific rates (as required by MCM). The initial
cell concentration is set to 103 , although this can easily be changed later on. Finally, we’re providing a
default value for the environmental_dynamics of metabolites: In our case all metabolites are by default
absent from the environment (see section 5.2.2 for more options). However, several metabolites can still
be taken up by cells, as defined in the original SBML file. Individual metabolite dynamics and uptake
kinetics will be manually adjusted below.
The above command should produce a directory microbial_community_01 with a draft model configuration, including the files environment, metabolites, reactions, species and observables. Let us
adjust this model to our needs. In the species file, make the cell’s life_time dependent on ethanol
concentration (maximum life time of 19.9 days [79] and a doubled mortality at 1.68×10−4 mol/L ethanol,
i.e. 1% alcohol ABV), and let’s also improve the species’ name:
E_coli
initial_concentration: 1e3
mass: 2.8e-13
life_time: 19.9 inhibited_by M_etoh_e 1.68e-4
..
93