Team:Grenoble/Projet/Modelling/Deterministic

From 2011.igem.org

Revision as of 17:27, 21 September 2011 by BouGeo7314 (Talk | contribs)

Grenoble 2011, Mercuro-Coli iGEM


Modelling - Deterministic

PDF version of the next two sections (Equations for Toggle Switch and Quorum sensing)

You need MathML supported on your browser to read the equations on this page. However, you can find these equations in the above PDF version.

Our equations and how we obtained them

The Two levels of Modelling

In order to facilitate the construction of the model, we divided the model into two levels :

  • Toggle Switch modelling: To predict in which states bacteria will be.
  • Quorum Sensing and Pigmentation: To predict where the red line will appear on our device.

The first level of the model will allow us to define the switch conditions in bacteria, depending on pollutant and IPTG concentration. From these results, we could see the switch zone on the device and so the red line position. Thanks to these simulations, we can resize our device for a better detection efficiency.

The second level will give us the width of the red line and so the precision of the system. From these results, we could improve the precision of our device, for example it will allow us to choose between a device with a continuous baterial layer and a device with a device with strips containing bacteria, each strips at a different concentration of IPTG and at the same concentration of Mercury.

However, in our Model, we didn't consider Mercury but anhydro tetracycline (aTc). It's a set of well characterized gene in E. Coli and it's really useful for the model because it allow us to do a proof of concept for our system. If the system works with aTc, it could also works with Mercury, Copper or lead for example.

So in the following chapter, we are going to use TetR instead of MerR and aTc instead of Mercury.

Toggle switch

  1. Biological Models
  2. A toggle switch consists of two genes, each coding for a protein that represses the expression of the other gene. This double repression system ensures the basic function of a toggle switch: a bistable system which can be switched from one state to the other by putting, in our example, some IPTG or aTc molecules in the medium.

    The biological system we are trying to implement is more complex, on both the biological and physical side. However, the toggle switch model is basically the same. In the study of the toggle switch itself, the system can be reduced to a simple two-state subsystem that we will then use for the rest of our modelling. The toggle switch itself is not influenced by the rest of the system, if we do not consider the RsmA regulatory system that will be modeled at the very end of our work. Thus we will be able to model the toggle switch independently and then build the rest of the model upon this basis.

  3. Mathematical Models
  4. We use a common model for the toggle switch that we demonstrate below. The differential equation describing the production of TetR is as follows

    d TetR dt = k plac P lac total 1 + LacI K plac + K plac IPTG K LacI - IPTG n plac - &; TetR TetR

    For better understanding of this model we demonstrated it. The differential equation describing the production of xR is as follow :

    d TetR dt = k plac P lac free - δ TetR TetR

    with [Plac free ] being the concentration of available binding sites - i.e. not repressed by LacI molecule. Plac_free is of course related to the total number of promoters Plac : P lac free + P lac - LacI = P lac total with [Plac − LacI ] being the concentration of promoters repressed by LacI. If we set K plac = P lac free LacI P lac - LacI we get : P lac free = P lac total 1 + LacI K plac We then try to get [LacI] : LacI - IPTG + LacI free + LacI - plac = LacI with [LacI - IPTG] the concentration of LacI bound to IPTG and [LacI - plac ] the concentration of the complex of LacI and the promoter. If we set K LacI - IPTG = LacI IPTG LacI - IPTG we get : LacI = LacI total 1 + IPTG K LacI - IPTG which finally gives our differential equations for TetR : d TetR dt = k plac P lac total 1 + LacI K plac + K plac IPTG K LacI - IPTG n plac - δ TetR TetR

    The equation can be generalized to account for cooperativity arising from multimerization of the transcription factors, here represented by the cooperativity constant nplac

    In a similar way, we obtain a differential equation for LacI: d LacI dt = k pTet P Tet total 1 + TetR K pTet + K pTet aTc K TetR - aTc n pTet - δ LacI LacI

    These two equations can be easily computed with a differential solver. We can precisely estimate the effects of each parameter.

Our equations and how we obtained them

Quorum sensing

  1. Mathematical Models
  2. Our work mainly refers to the models set up by the 2007 iGEM Bangalore team. On the basis of their work we set up models adapted to our own system. For these reasons we strongly recommend getting familiar with the works of the 2007 Bangalore team for an easier understanding of the models we used.
    The main difference between our models is that their model is designed for a whole medium, in which the concen- trations of quorum sensing molecules are considered for a whole fixed volume of a medium. Our system, however, is supposed to describe the spatial diffusion of quorum sensing molecules as well, and therefore needs to be designed for an infinitesimal volume of medium containing bacteries and outside medium. A few other differences exist between our model and theirs, mainly due to the fact that the system we intend to describe is made of other different parts. For example the production rate of our Quorum Sensing enzymes are directly linked to the previously described toggle switch model.

    For these reasons we strongly recommend getting familiar with the works of the 2007 Bangalore team for an easier understanding of the models we used.

    Bangalore 07 modeled the behaviour of quorum sensing for a simple quorum sensing system. With the input of the toggle switch model taken into account, we can adapt their equations to our system. With our toggle switch system the production would be ruled by the regulatory network of LacI and TetR :

    d CinI dt = k pTet P Tet total 1 + TetR K pTet + K pTet aTc K TetR - aTc n pTet - δ CinI CinI d CinR free dt = k plac P lac total 1 + LacI K plac + K plac IPTG K LacI - IPTG n plac - δ CinR CinR free - V complexation

    We can therefore describe the production of CinI and CinRfree inside the cells. Vcomplexation is the complexation rate of CinRfree with AHL molecule. As a matter of fact CinR will be transformed into CinR* after being complexed with the Quorum Sensing molecules entering the cell. It is now taken into account via this complexation rate.
    A simple way to write this rate would be as follow : V complexation = k comp Q i n CinR free with Qi being the concentration in QS molecule inside the cell. If we consider that only one QS molecule would bind to a CinR molecule, we obtain the following equation for CinR : d CinR free dt = k plac P lac total 1 + LacI 1 + IPTG K LacI - IPTG n plac - δ CinR CinR free - k comp Q i CinR free

    For the following equations the physical volume considered is an infinitesimal volume of medium along x - i.e. we only consider an l ∗ dx volume of cell, l being the width of our plate and dx an infinitesimal portion of length. In this infinitesimal volume we set a fixed number of non-growing cells and take into account the diffusion from one portion to the next ones.

    d Qi dt = η Qe - Qi - δ Qi Qi + f([CinI]) d Qe dt = ρ v c η Qi - Qe - δ Qe Qe + D diff ∂ 2 Qe ∂ x 2
    • With f ([CinI]) being a mathematical function describing the production of QS molecule by CinI enzyme. Basically this fonction would be as follow :
    • f([CinI]) = k QS p substrate n CinI But if this reaction is assumed first-order, we obtain : d Qi dt = η Qe - Qi - δ Qi Qi + k QS p ' CinI
    • With Ddiff being the diffusion coefficient for our Quorum sensing molecule in our medium along spatial dimension x.
    • In our case ρvc is a constant (we consider the cells do not grow in our time scale)
    • With the equations set (3.1); (3.3); (3.5); (3.6) we have, we can not use solvers like matlab ODE because of their space and time dependancies. To solve our problem we have to use a space-time derivation matrix we will describe in the next chapter.

  3. Solvation ot the set of equations (3.1); (3.3); (3.5); (3.6)
  4. To solve this set of equations we have to use a matrix that will describe our system in both space and time. for example for the QS molecule outside of the cell :

    M Q e m,n = Q e x,t M Q e m+1,n+1 = Q e x+dx,t+dt
    • On the spatial point of view, we only consider the x dimension, as the IPTG gradient will be only evolving along this dimension. Thus we consider the state of our cells is the same along the width of our plate.
    • With this Matrix, and after computation of all the terms, we can get the entire behaviour of CinI, CinR, QS inside and outside the cells.
    • The first line of the Matrix equals 0. These are the initial conditions we set to 0 at time t = 0s.
    • On the borders of the plate (x = 0 and x = L) the model used has to be different, limit conditions will be set.
    • Of course, Qi, CinI and CinR matrices will be similarly implemented.

    With our continuous equations set, we want to obtain discrete definition of each of the matrices. The interdepen- dancies of the equations imply that the computation of the matrices will be performed on the entire CinI matrix first, then each line of the Qi and Qe matrices will be computed alternatively. Finally CinR matrix computation will be performed.

    Parallel computation of all the matrices without proper control is not possible indeed, as the terms of Qi matrix will depend on the Qe terms of the preceding line (and vice-versa). Discretization is obtained with first order taylor series :

    M Q i m,n+1 = Δ t η M Q e (m,n) - M Q i m,n - δ Q i M Q i m,n + k QS p M CinI m,n + M Q i m,n M Q e m,n+1 = Δ t D m + D diff M Q e m+1,n - 2M Q e m,n + M Q e m-1,n - M Q e m,n

    with D m = ρ v c η M Q i m,n - M Q e m,n δ Q e + ρ v c η

    M CinR m,n+1 = Δ t k plac P lac total 1 + LacI K plac + K plac IPTG K LacI - IPTG n plac - M CinR m,n δ CinR - k comp M Q i m,n + M CinR m,n

With these discrete equations the 4 matrices can be computed through simple calculation loops over each line. The CinI matrix does not depend on space dimension, it is then possible to compute it without discretization with a differential solver.

Our algorithms

In the MATLAB archive that can be found here containing our matlab scripts for deterministic modelling (file Deterministic_archive.tar.gz) you can launch an ODE based simulation (see our ODEs in the two previous sections) with the file biosenseur1Dmain.m.

Several dialog boxes will pop up to enter the specificities of the simulation : (physical specificities of the device, chemical species concentrations and IPTG gradient )

At the end of the simulation you obtain 3 matrices named M_stock, M_QS and M_comp containing the concentrations in each protein species at each time point and on each physical point of the plate. We wrote three MATLAB scripts that display the concentration in proteins dynamically that you can call with DynamicplottingTS, DynamicplottingQS and DynamicplottingCP. For a good understanding of the models and of our results we also wrote a script to illustrate the coloration of our plate through time according to our models named Imageshow.m.

Isoclines and Hysteresis

In order to predict the stability of our system, mathematical studies are necessary.

Isoclines

In a first time, an isocline study is realized. Isocline study is a classical study which implies a research of stationnary point in a system. This stationnary point are deduced from the equations of the differential system: when the variation of concentration of both repressors are equal to zero.

To facilitate the manipulation of the equation and reduced the number of parameters, we posed:\\