Team:Grenoble/Projet/Modelling/Deterministic

From 2011.igem.org

Revision as of 16:03, 20 September 2011 by JeanBaptiste (Talk | contribs)

Grenoble 2011, Mercuro-Coli iGEM


Modelling - Deterministic

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

Our equations and how we obtained them

Toggle switch

  1. Biological Models
  2. The basic model of a Toggle switch features two transcription ways. After traduction of the ARNm, the proteins produced in each way repress the promoter of the opposing way. This double repression system ensures the basic function of a toggle switch : When a way is followed in the first time - in our example, by putting some IPTG or aTc molecules in the medium - the system will remain stable in the chosen way. It would then require a much more important concentration of the other protein to switch into the opposing way.

    The biological system we are trying to implement is more complex, on both 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-ways 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 modelized at the very end of our work. Thus we will be able to modelize the toggle switch independantly and then build the rest of the model on this basis.

  3. Mathematical Models
  4. A common model that can be used for toggle switch modelling is as follow :

    d TetR dt = α 1 1 + [lacI] β - [TetR] d lacI dt = α 2 1+[TetR] γ - [lacI]

    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 avail - δ TetR TetR

    With [Plac avail ] being the concentration of available binding sites - i.e. not repressed by lacI molecule. Plac_avail is of course related to the total number of promoters Plac : P lac avail + P lac - lacI = P lac total with [Plac − lacI ] being the concentration of promoters repressed by lacI. If we set K plac = P lac avail lacI P lac - lacI we get : P lac avail = P lac total 1 + lacI K plac We then try to get [lacI] : lacI - IPTG + lacI + lacI - plac = lacI total With [lacI - IPTG] the concentration of lacI repressed by IPTG and [lacI - plac ] the concentration of lacI linked to 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 1 + IPTG K lacI - IPTG n plac - δ TetR TetR With similar calculation we get the differential equation for lacI : d lacI dt = k pTet P Tet total 1 + TetR 1 + aTc K TetR - aTc n pTet - δ lacI lacI

    These two equations can be easily computed with a differential solver. With this model we can get a good model of our system with good knowledge of all the factors. We can precisely estimate the effects of each parameter. We get a similar equation to the usual model.

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.
    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 spacial 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 modelized 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 1 + aTc K TetR - aTc n pTet - δ cinI cinI d cinR dt = k plac P lac total 1 + lacI 1 + IPTG K lacI - IPTG n plac - δ cinR cinR - V complexation

    We can therefore describe the production of cinI and cinR inside the cells. Vcomplexation is the rate of complexation of the cinR molecule in terms of concentration. 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 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 dt = k plac P lac total 1 + lacI 1 + IPTG K lacI - IPTG n plac - δ cinR cinR - k comp Q i cinR

    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 we consider the reaction as Michaelian, 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 pTet P Tet total 1 + TetR 1 + aTc K TetR - aTc n pTet - 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.