Team:ETHZ Basel/Modeling/Movement

From 2010.igem.org

(Difference between revisions)
(Directed movement/Tumbling)
 
(230 intermediate revisions not shown)
Line 4: Line 4:
= Modeling & Simulating Bacterial Movement =
= Modeling & Simulating Bacterial Movement =
-
While the biologists are busy teaching the E. coli how to respond to light, the modelers thought of simulating the light driven E. coli electronically. This will close the loop of our virtual E.lemming and will help us check the imaging pipeline, microscope analysis & joystick control even without actually having the real E. lemming under the microscope.
+
== Overview ==
 +
[[Image:ETHZ_Basel_molecular_move.png|thumb|400px|'''Schematical overview of the relation between the chemotaxis pathway and the movement model.''']]
 +
Analogous to the highly complex signal transduction network in the chemotaxis receptor model, there is an at least equally challenging molecular mechanism on side of the flagella, responsible for the movement of the bacterium.  
-
<br>
+
In order to capture the features of cell motility, we not only implemented, but also conceptually created a probabilistic two state model, which simulates the cell movement in accordance to the existing empirical observations.
-
[[Image:ETHZ_Basel_molecular_move.png|thumb|400px|'''Schematical overview of the relation between chemotaxis and the movement model.''']]
+
At every time point of the simulation of the movement model, the current CheYp concentration is received as an input from the [[Team:ETHZ_Basel/Modeling/Chemotaxis| chemotaxis pathway]] model. This input determines the probability of the CCW and the CW rotation direction of the flagella. A counterclockwise rotation corresponds to the  '''directed movement (running)''' state and to a change in spatial coordinates, together with a slight change in angle, while a clockwise rotation corresponds to the '''tumbling''' state and to a new movement direction, with nearly unchanged spatial coordinates.
-
== Main Idea ==
+
-
Analogous to the highly complex signal transduction in the Chemotaxis receptor model, there is an equally challenging molecular mechanism on side of the flagella, responsible for the movement of the bacterium.
+
-
<br>
+
-
We implemented a probabilistic model to capture the known behavior of cell motility under Chemotaxis, according to documented statistical observations. The rotation of flagellar which determines if the cell would tumble or swim, is a function of CheYp concentration. This is obtained as an input from the [https://2010.igem.org/Team:ETHZ_Basel/Modeling/Chemotaxis Chemotaxis pathway] model at every time point of the simulation. This coupling of the probabilistic movement model with the molecular model ensures that we can realistically simulate the variations in the motility with the variations in the protein concentrations.  
+
-
<br>
+
By coupling the probabilistic movement model with the deterministic molecular model we can simulate the variations in motility which occur due to variations in the concentrations of the molecular species of the chemotaxis pathway, namely in the concentration of CheYp.
-
== Statistical Objectives ==
+
== Known Features of Chemotaxis Motility ==
-
The main target of our algorithm was obtaining very similar statistical results of our simulated E.Coli's movement, when compared to the real E.coli's movement. These statistical results include:
+
[[Image:ETHZ_Basel_Flagellum.png|thumb|400px|'''Flagellum of a gram negative bacterium.''' Free cytosolic CheYp binds to the flagellar motor protein FliM and induces tumbling. FliM is located in the motor complex and acts as a motor switch.]]
 +
The focus in creating the movement model was to reliably reproduce the known chemotaxis behavior of ''E. coli'' cells. We used as a benchmark the statistical estimates of chemotaxis motility, as presented in [[Team:ETHZ Basel/Modeling/Movement#References|[1]]].
 +
In order to be successful, our movement model had to reproduce the following features:
 +
* In a constant extracellular environment, the transition times between the two states the cell can employ (run length and tumbling length) are approximately exponentially distributed, with a tumbling length of 0.14&plusmn;0.19s and a run length of 0.86&plusmn;1.18s (each value given as mean and standard deviation).
 +
* In a changing extracellular environment (e.g. increasing concentration of Aspartate), mainly the distribution of the run length adjusts, whereas the distribution of the tumbling length only slightly changes.
 +
* The average speed of an ''E. coli'' during directed movement is approximately 14.2&plusmn;3.4&mu;m/s, whereas during tumbling the average speed is significantly smaller.
 +
* In a constant extracellular environment, the absolute angle change between two directed movement phases is Weibull distributed, with a non-zero maximum and a mean and standard deviation of 68&plusmn;36&deg;, whereas the absolute angle change during one directed movement period has its maximum around  0&deg;, with mean and standard deviation 23&plusmn;23&deg;.
-
=== Tumbling Angle ===
+
==Assumptions==
-
The tumbling angle is the change of direction from run to run. We approximated the empirically observed distribution [1] (left panel) with a Weibull distribution (right panel), with same mean and variance as the empirically observed ones.
+
===Mean Times===
 +
In accordance with the experimental data given in [[Team:ETHZ Basel/Modeling/Movement#References|[1]]], the mean tumbling length was assumed to be independent of the extracellular conditions, unlike the mean run length, which is known to fluctuate for wild type cells under different extracellular environments. Besides the experimental evidence in [[Team:ETHZ Basel/Modeling/Movement#References|[1]]], this assumption also has a biological interpretation: tumbling is believed to occur because the flagella push each other away and disassemble after rotating counter-clock wise (directed movement). The time spent in tumbling is a stochastic variable mainly representing the time the flagella need to reassemble afterwards, and a single process of reassembling is only weakly correlated with the frequency of tumbling.<br>
-
=== Mean Tumbling Length ===
+
===Velocity===
-
The mean tumbling length is the average time the cell spends in between two runs.
+
During the directed movement phase, the speed of an ''E. coli'' cell varies only slightly around its mean value, whereas during the tumbling phase, the speed is significantly smaller and can be neglected (see [[Team:ETHZ Basel/Modeling/Movement#References|[1]]]).
 +
<br> Therefore, we assumed in our model that the velocity during directed movements is constant and zero during tumbling.
-
=== Mean Run length ===
+
===Direction Changes===
-
The mean run length is the average time the cell spends in the running state.
+
-
==Assumptions==
+
During one directed movement phase, the angular speed is Gaussian distributed, with zero mean and a tuned standard distribution, such that, when integrated over the mean run length, we obtain the properties stated above and in [[Team:ETHZ Basel/Modeling/Movement#References|[1]]].
-
The assumptions of our model were taken in accordance to the existing empirical data on the chemotaxis movement [1]. The mean tumbling length is assumed to be constant, unlike the mean running length, which is a function of the bias. Besides the experimental evidence, this assumption also has an intuitive meaning: the running probability doesn't influence the amount of time the cell spends in the tumbling state, whereas it matters when deciding the next move, if the cell already is in the running state. Also, the mean velocity during runs was considered constant.
+
 +
Reproducing the distribution for the angular change between two directed movement phases was much more challenging.  Choosing the angular speed independently at every integration step, as we did for the directed movement case, would lead to a distribution which reaches its maximum at zero, which would be in discrepancy with the empirical data in [[Team:ETHZ Basel/Modeling/Movement#References|[1]]]. Therefore, we decided to assume a constant angular speed for the entire period between two directed movement phases. The angular speed was drawn from a tuned distribution, which was optimized to reflect the observed data as good as possible.
 +
== General Algorithm ==
 +
[[Image:ETHZ_movement_algo_flow.png|thumb|400px|'''Schematic overview of the algorithm used to model chemotaxis motion as influenced by the CheYp level in the cell.''']]
-
== Features of the Movement Model ==
+
We use a two state model to simulate bacterial motility, with the two states corresponding to directed movement and to tumbling. At each time step of the simulation, the cell either keeps or switches its state, according to the input received from the molecular model, which determine the values of the transition probabilities between states.
-
One of the biggest practical challenges regarding the movement model was obtaining a time - step - invariant behavior of the cell, whose reliability of statistical estimates should be the same, regardless of how often the cell had to choose its future state.
+
If the model is currently in the directed movement state, the cell mainly moves in its current direction with a speed of 14.2&mu;m/s and changes direction only slightly (see [[Team:ETHZ Basel/Modeling/Movement#References|[1]]]).
-
In order to achieve this, we opted for a two - state model, in which the probability of running was controlled separately depending on whether the cell was running or tumbling.  
+
 
 +
If however the model is currently in the tumbling state, the cell is changing its direction rapidly while staying at the same point.
 +
 
 +
== Coupling to the Chemotaxis Pathway ==
 +
[[Image:Bias.png|thumb|400px|'''Bias''' The sigmoid dependency between CheYp concentration and probability of the cell being in the directed movement state]]
 +
The quantity that links the CheYp concentration with the type of motion (tumbling vs. directed motion) is called the '''bias''' and it is formally defined as the fraction of time spent in the directed movement state with respect to the total time in motion. Our choice for bias formulation was a nonlinear Hill - type function of CheYp concentration, with [CheYp]<sub>wt</sub> being the wild-type CheYp concentration for which a steady - state invariant time ratio was obtained. Both the functional dependency and CheYp value are well documented in the literature [[Team:ETHZ Basel/Modeling/Movement#References|[2]]]. <br>
 +
[[Image:ETHZ_iGEM_bias.PNG]]
 +
 
 +
Since the mean tumbling length is assumed to be independent of the intracellular state, the mean run length has to be a function of the bias:
 +
[[Image:ETH_igem_bias_math.PNG‎]]
 +
 
 +
== Transition Probabilities ==
 +
At every time step of the simulation, the model decides probabilistically whether to switch or to keep its current movement state. Therefore, bacterial motility can be modeled as a two - state first - order Markov process, in which the future state is only dependent on the current state. Since we have Boolean values for both directed movement and tumbling, we can define the following four transition probabilities, separately controlled depending on whether the cell is currently in the directive movement or in the tumbling phase.<br>
<br>
<br>
-
Therefore the two central parameters of our model are the probability of choosing running as the next state, when the current state is running (p1) and the probability of choosing running as the next step, when the current state is tumbling (p2).
+
[[Image:ETH iGEM transition probabilities.PNG|500px]]
-
In deriving the expression of these probabilities, we separately and symetrically focused on the two processes: running and tumbling. As a consequence, the mean running length is only dependent on the timestep and on the running probability if the previous state was running (p1), while the mean tumbling length is only dependent on the time - step and on the running probability if the previous step was tumbling.   
+
<br>
-
We will exaplin in detail the technique employed in deriving the probability of running, when the previous state was running. The symmetrical calculations, for the mean tumbling length, follow identically.
+
<br>
-
The mean running length is the expected value of a random variable representing the number of timesteps the cell consecutively spends in running. By expanding the definiton of an expected value, the mean running length becomes an infinite sum over all possible consecutive running-lengths, multiplied by their respective occurrence probabilities.   
+
Therefore, the two central parameters of our model are the probabilities of keeping the current state also as future state: p1: the probability of the future state being directed movement, when the current state is directed movement and p2: the probability of the future state being tumbling, when the current state is tumbling.
 +
<br>
 +
In deriving the expression of these probabilities, we separately and symmetrically focused on the two processes: directed movement and tumbling. As a consequence, the mean run length is only dependent on the time step and on the probability of continuing the directed movement (p1), while the mean tumbling length is only dependent on the time step and on the probability of continuing tumbling (p2).   
 +
<br>
 +
We will explain in detail the technique employed in deriving the probability of being in the directed movement state, when the previous state was directed movement. Symmetrical calculations, for the mean tumbling length, follow identically.
 +
<br><br>
 +
The mean run length is the expected value of a random variable representing the number of time steps the cell consecutively spends in the directed movement phase. Since in simulating our system we will always assume a constant time step per simulation, but with the possibility of changing its value in between simulations, we will denote the time step by &#916;t. By expanding the definition of an expected value, the mean run length becomes an infinite sum over all possible consecutive run-lengths, multiplied by their respective occurrence probabilities.
 +
 
 +
In the final expression of the transition probability p1, dt stands for the fixed time step we used in simulating our system.<br>
 +
[[Image:ETHZ_iGEM_mean_run_length.PNG|center]]
 +
 
 +
== Direction Changes ==
 +
 
 +
=== Angular Velocity during Tumbling ===
 +
As stated above, the observed probability distribution of the absolute angle change between two directed movement phases is not maximal around zero. An intuitive approach, which would set the angular speed to a randomly positive or negative value drawn independently from a symmetric probability distribution, would always result in a distribution having its maximum around zero, therefore not reproducing the real motility behavior.
 +
<br>We thus decided to keep the angular velocity fixed for an entire tumbling phase. However, even with this approach, it was not possible to fully reproduce the quantitative properties of the observed distribution. <br>
 +
The reason for this discrepancy was that the shape of the distribution of the tumbling lengths makes it impossible to create a distribution of the angle changes corresponding in all of its properties to the observed one, without making the angular speed inversely proportional to the tumbling length. Although such an approach is easy to implement, the resulting model would be characterized by a lack of mathematical aesthetic.
 +
Therefore, the distribution was chosen to be independent on the tumbling length and tuned to as good as possible fit the empirical one (see [[Team:ETHZ Basel/Modeling/Movement#References|[1]]]). The resulting distribution had, as the observed one, a nonzero maximum, and a mean between 60&deg; and 70&deg;. However, the standard deviation was 47&deg;, 11&deg; higher than the observed one of 36&deg;.   
 +
<br clear="all" />
 +
 
 +
=== Angular Velocity during Directed Movement ===
 +
Different to the angular velocity during tumbling, the angular velocity during directed movement phases can be drawn from a tuned distribution to fully reproduce the experimental data (see [[Team:ETHZ Basel/Modeling/Movement#References|[1]]]): mean of 23&deg; and standard deviation of also 23&deg;. We assumed that the angular speed during one time step is normally distributed with zero mean and a standard deviation of &sigma;. Thus, as one directed movement period consists of N=&lt;run length&gt;/&Delta;t integration steps, the change in angle after one directed movement period has zero mean and a standard deviation of<br /> &sigma;<sub>run</sub>=&sigma; &Delta;t N<sup>&frac12;</sup> = &sigma;&lt;run length&gt;<sup>&frac12;</sup>&Delta;t<sup>&frac12;</sup>.<br/>
 +
The literature values of change in angle are however given as absolute values. This corresponds to calculating &chi;-distribution of the angular change, which has in this case the mean value of &mu;<sub>&chi;</sub>=(2/&pi;)<sup>&frac12;</sup>&sigma;<sub>run</sub> and a standard deviation of &sigma;<sub>&chi;</sub>=&sigma;<sub>run</sub>. Since (2/&pi;)<sup>&frac12;</sup>&asymp;0.8 and thus the resulting mean and standard deviations are similar to each other as experimentally observed, we have chosen a standard deviation of
 +
<br>&sigma;=(&pi;/2)23&deg;&lt;run length&gt;<sup>-&frac12;</sup>&Delta;t<sup>-&frac12;</sup>for our model. The resulting distribution of the angular change during directed movement periods resembles closely to the experimentally available values (see [[Team:ETHZ_Basel/Modeling/Movement#Simulation_Results| simulation results]]).
 +
 
 +
== Simulation Results ==
 +
For our simulations, we have chosen a timestep &Delta;t=0.03s, which is around five times smaller than the smallest time constants in the cell motility model, as well as over ten times smaller than the time constant with which the CheYp concentration changes in the molecular model (for details, see [[Team:ETHZ_Basel/Modeling/Experimental_Design|optimal experimental design]]).
 +
 
 +
=== Evaluation of the Model ===
 +
To evaluate the movement model, we performed several long time simulations under constant conditions (bias set to its wild-type steady state value of around 0.85) and determined its characteristics which might be compared to the known properties of the motility of ''E. coli'' cells as given in [[Team:ETHZ Basel/Modeling/Movement#References|[1]]] and described above.
 +
 
 +
{| border="0" align="center"
 +
|- valign="top"
 +
|[[Image:swimmingDurations.jpg|thumb|200px|'''Run Length Distribution'''. The distribution is approximately exponential with a mean value of 0.87s and a standard deviation of 0.86s.]]
 +
|[[Image:tumblingDurations.jpg|thumb|200px|'''Tumbling Length Distribution.''' The distribution is approximately exponential with a mean value of 0.14s and a standard deviation of 0.12s.]]
 +
|[[Image:swimmingAngle.jpg|thumb|200px|'''Distribution of the absolute angle change during one directed movement phase'''. The distribution is approximately &chi;-distributed with mean 20.5&deg; and standard deviation 20.1&deg;.]]
 +
|[[Image:tumblingAngle.jpg|thumb|200px|'''Distribution of the absolute angle change between two directed movement phases'''. The distribution has similar properties as the one experimentally observed in [[Team:ETHZ Basel/Modeling/Movement#References|[1]]]. Its mean value is 62.3&deg; and its standard deviation 47.0&deg;.]]
 +
|}
 +
 
 +
=== Variations in input bias ===
 +
Furthermore, we simulated the spatial behavior of a single ''E. coli'' cell under the influence of different input bias values. For a more realistic simulation of the bacterial movement process, the input bias was obtained directly from the [[Team:ETHZ_Basel/Modeling/Combined| combined molecular model]] linking the [[Team:ETHZ_Basel/Modeling/Chemotaxis| chemotaxis pathway]] and the [[Team:ETHZ_Basel/Modeling/Light_Switch|light switch]]. As the combined model offered us many design alternatives for performing simulations, we decided on a fixed molecular template, to ease the comparison of results. 
 +
 
 +
The chosen molecular template for simulating the movement model was the following:
 +
* molecular model chosen: Spiro et al. [[Team:ETHZ Basel/Modeling/Movement#References|[3]]]
 +
* controlled Che species: CheY
 +
* Light coupling: CheY-PIF3 & PhyB-Anchor
 +
 
 +
Each row of the subplots table presented below represents a different input bias value for the movement model, obtained as a result of different input protein concentrations for the combined molecular model. Each column represent a different simulation length (100 seconds, 500 seconds and 3000 seconds).
 +
 
 +
The input protein concentrations used, together with the corresponding obtained steady-state bias were the following:
 +
 
 +
[[Image:ETH_iGEM_movement_simulations_table.png|700px]]
 +
All the simulations were run without the existence of any controller algorithm, therefore reproducing the random chemotaxis walk.
 +
Please note the different spatial ranges when comparing the plots, increasing both with increasing simulation time length (the bacterium travels a longer distance in a longer time period) and with increasing bias value (the probability of choosing the directed movement state increases, therefore, on average, the cell travels a longer distance).
-
=== The Bias ===
+
[[Image:ETH_iGEM_simulations_bias.png|thumb|950px|center|'''Bacterial random walk for different input bias values and different simulation times''' The plots were generated under different initial conditions of the molecular model, resulting in different values for the input bias. As seen by analyzing the plots row-wise, an increasing bias value leads to increasing directed movement periods. The culminating point is a bias value of 0.99, equivalent to almost continuous directed movements. Also to be noted is the gradual smoothing of direction changes between directed movement states, with increasing bias value. The effect of the simulation time can be seen by analyzing the plots column-wise. The same movement pattern observed during the first 100 seconds is repeated over a longer time period, providing an overview of the long - term chemotaxis spatial behavior.
-
[[Image:Bias.png|thumb|300px|'''The sigmoid dependency between CheYp concentration and probability of being in the running state''']]
+
<br>Note the increasing axis range, both on the x and on the y coordinate, due to both increasing bias value and increasing simulation time. ]]
-
The link between CheYp concentration and the type of movement chosen by the bacterium is called '''bias''' and it is formally defined as the fraction of time spent in the running state with respect to the total observation time. Our choice for bias formulation is a nonlinear Hill - type function of the CheYp concentration, with one of the parameters being the CheYp concentration for which a steady - state bias was obtained, well documented from the literature [2]. '''[NEED FURTHER EXPLANATION!!!]'''At every time point of the simulation, the cell probabilistically chooses whether to run or to tumble, depending on the bias value. The choice of the running state is equivalent to a change in spatial coordinates, together with a slight change in direction (movement angle), while the choice of the tumbling state corresponds to new movement angle and unchanged spatial coordinates.  
+
 +
=== Directed movement/Tumbling ===
 +
For the above simulated trajectories, we generated the so-called '''directed movement/tumbling''' plots used in analyzing chemotaxis motility from the perspective of boolean movement - time dependency. For providing a better visibility of the individual steps of the movement process, in the left figure only the first 60 seconds of the above simulations were considered, while in the right figure a detailed insight into the first 30 seconds is provided.
 +
{| border="0" align="center"
 +
|- valign="top"
 +
|[[Image:ETH_igem_run_tumble_large.PNG|thumb|450px|'''The directed movement tumbling plots for three different input bias values for 60 seconds simulation time''' Movement value of 1 represents the directed movement state, while movement value of 0 represents the tumbling state. Simulation time was 60 seconds, with sampling at every 0.03 seconds. As expected, the density of the plots is decreasing with increasing bias value, since the ratio directed movements/tumbling is increasing. In the limit case of 0.99 bias, the tumbling periods are not noticeable, the bacterial behavior consisting almost entirely of tumbling.]]
 +
|[[Image:ETH_igem_running_tumbling_plots.png|thumb|450px|'''The directed movement tumbling plots for three different input bias values for 30 seconds simulation time''' The effect of the input bias is even more visible at a higher resolution. For lower bias value, tumbling occurs more often (upper plot) and it is gradually eliminated with increasing bias.]]
 +
|}
-
[[Image:nice_walk.png|frame|center|800px|alt=1000$|'''Simulated Random Walk ''']]
+
== Download ==
 +
The bacterial movement model is included within the [[Team:ETHZ_Basel/Achievements/Matlab_Toolbox|Matlab Toolbox]] and can be downloaded there.
 +
== References ==
 +
[1] [http://www.nature.com/nature/journal/v239/n5374/abs/239500a0.html H.C. Berg, D.A.Brown: Chemotaxis in Escherichia coli analysed by three - dimensional Tracking.  Nature 1972 239, 500 - 504]
 +
[2] [http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1299372/?tool=pubmed Levin, Morton-Firth: Origins of Individual Swimming Behavior in Bacteria, Biophysical Journal 1998 74:175-181]
-
[1] Chemotaxis in Escherichia coli analysed by three - dimensional Tracking. H.C. Berg, D.A.Brown: Nature 239, 500 - 504. 1972
+
[3] [http://www.pnas.org/content/94/14/7263.full Spiro et al: A model of excitation and adaptation in bacterial chemotaxis. PNAS 1997 94;14;7263-7268.]

Latest revision as of 18:30, 25 December 2010

Modeling & Simulating Bacterial Movement

Overview

Schematical overview of the relation between the chemotaxis pathway and the movement model.

Analogous to the highly complex signal transduction network in the chemotaxis receptor model, there is an at least equally challenging molecular mechanism on side of the flagella, responsible for the movement of the bacterium.

In order to capture the features of cell motility, we not only implemented, but also conceptually created a probabilistic two state model, which simulates the cell movement in accordance to the existing empirical observations.

At every time point of the simulation of the movement model, the current CheYp concentration is received as an input from the chemotaxis pathway model. This input determines the probability of the CCW and the CW rotation direction of the flagella. A counterclockwise rotation corresponds to the directed movement (running) state and to a change in spatial coordinates, together with a slight change in angle, while a clockwise rotation corresponds to the tumbling state and to a new movement direction, with nearly unchanged spatial coordinates.

By coupling the probabilistic movement model with the deterministic molecular model we can simulate the variations in motility which occur due to variations in the concentrations of the molecular species of the chemotaxis pathway, namely in the concentration of CheYp.

Known Features of Chemotaxis Motility

Flagellum of a gram negative bacterium. Free cytosolic CheYp binds to the flagellar motor protein FliM and induces tumbling. FliM is located in the motor complex and acts as a motor switch.

The focus in creating the movement model was to reliably reproduce the known chemotaxis behavior of E. coli cells. We used as a benchmark the statistical estimates of chemotaxis motility, as presented in [1]. In order to be successful, our movement model had to reproduce the following features:

  • In a constant extracellular environment, the transition times between the two states the cell can employ (run length and tumbling length) are approximately exponentially distributed, with a tumbling length of 0.14±0.19s and a run length of 0.86±1.18s (each value given as mean and standard deviation).
  • In a changing extracellular environment (e.g. increasing concentration of Aspartate), mainly the distribution of the run length adjusts, whereas the distribution of the tumbling length only slightly changes.
  • The average speed of an E. coli during directed movement is approximately 14.2±3.4μm/s, whereas during tumbling the average speed is significantly smaller.
  • In a constant extracellular environment, the absolute angle change between two directed movement phases is Weibull distributed, with a non-zero maximum and a mean and standard deviation of 68±36°, whereas the absolute angle change during one directed movement period has its maximum around 0°, with mean and standard deviation 23±23°.

Assumptions

Mean Times

In accordance with the experimental data given in [1], the mean tumbling length was assumed to be independent of the extracellular conditions, unlike the mean run length, which is known to fluctuate for wild type cells under different extracellular environments. Besides the experimental evidence in [1], this assumption also has a biological interpretation: tumbling is believed to occur because the flagella push each other away and disassemble after rotating counter-clock wise (directed movement). The time spent in tumbling is a stochastic variable mainly representing the time the flagella need to reassemble afterwards, and a single process of reassembling is only weakly correlated with the frequency of tumbling.

Velocity

During the directed movement phase, the speed of an E. coli cell varies only slightly around its mean value, whereas during the tumbling phase, the speed is significantly smaller and can be neglected (see [1]).
Therefore, we assumed in our model that the velocity during directed movements is constant and zero during tumbling.

Direction Changes

During one directed movement phase, the angular speed is Gaussian distributed, with zero mean and a tuned standard distribution, such that, when integrated over the mean run length, we obtain the properties stated above and in [1].

Reproducing the distribution for the angular change between two directed movement phases was much more challenging. Choosing the angular speed independently at every integration step, as we did for the directed movement case, would lead to a distribution which reaches its maximum at zero, which would be in discrepancy with the empirical data in [1]. Therefore, we decided to assume a constant angular speed for the entire period between two directed movement phases. The angular speed was drawn from a tuned distribution, which was optimized to reflect the observed data as good as possible.

General Algorithm

Schematic overview of the algorithm used to model chemotaxis motion as influenced by the CheYp level in the cell.

We use a two state model to simulate bacterial motility, with the two states corresponding to directed movement and to tumbling. At each time step of the simulation, the cell either keeps or switches its state, according to the input received from the molecular model, which determine the values of the transition probabilities between states.

If the model is currently in the directed movement state, the cell mainly moves in its current direction with a speed of 14.2μm/s and changes direction only slightly (see [1]).

If however the model is currently in the tumbling state, the cell is changing its direction rapidly while staying at the same point.

Coupling to the Chemotaxis Pathway

Bias The sigmoid dependency between CheYp concentration and probability of the cell being in the directed movement state

The quantity that links the CheYp concentration with the type of motion (tumbling vs. directed motion) is called the bias and it is formally defined as the fraction of time spent in the directed movement state with respect to the total time in motion. Our choice for bias formulation was a nonlinear Hill - type function of CheYp concentration, with [CheYp]wt being the wild-type CheYp concentration for which a steady - state invariant time ratio was obtained. Both the functional dependency and CheYp value are well documented in the literature [2].
ETHZ iGEM bias.PNG

Since the mean tumbling length is assumed to be independent of the intracellular state, the mean run length has to be a function of the bias: ETH igem bias math.PNG

Transition Probabilities

At every time step of the simulation, the model decides probabilistically whether to switch or to keep its current movement state. Therefore, bacterial motility can be modeled as a two - state first - order Markov process, in which the future state is only dependent on the current state. Since we have Boolean values for both directed movement and tumbling, we can define the following four transition probabilities, separately controlled depending on whether the cell is currently in the directive movement or in the tumbling phase.

ETH iGEM transition probabilities.PNG

Therefore, the two central parameters of our model are the probabilities of keeping the current state also as future state: p1: the probability of the future state being directed movement, when the current state is directed movement and p2: the probability of the future state being tumbling, when the current state is tumbling.
In deriving the expression of these probabilities, we separately and symmetrically focused on the two processes: directed movement and tumbling. As a consequence, the mean run length is only dependent on the time step and on the probability of continuing the directed movement (p1), while the mean tumbling length is only dependent on the time step and on the probability of continuing tumbling (p2).
We will explain in detail the technique employed in deriving the probability of being in the directed movement state, when the previous state was directed movement. Symmetrical calculations, for the mean tumbling length, follow identically.

The mean run length is the expected value of a random variable representing the number of time steps the cell consecutively spends in the directed movement phase. Since in simulating our system we will always assume a constant time step per simulation, but with the possibility of changing its value in between simulations, we will denote the time step by Δt. By expanding the definition of an expected value, the mean run length becomes an infinite sum over all possible consecutive run-lengths, multiplied by their respective occurrence probabilities.

In the final expression of the transition probability p1, dt stands for the fixed time step we used in simulating our system.

ETHZ iGEM mean run length.PNG

Direction Changes

Angular Velocity during Tumbling

As stated above, the observed probability distribution of the absolute angle change between two directed movement phases is not maximal around zero. An intuitive approach, which would set the angular speed to a randomly positive or negative value drawn independently from a symmetric probability distribution, would always result in a distribution having its maximum around zero, therefore not reproducing the real motility behavior.
We thus decided to keep the angular velocity fixed for an entire tumbling phase. However, even with this approach, it was not possible to fully reproduce the quantitative properties of the observed distribution.
The reason for this discrepancy was that the shape of the distribution of the tumbling lengths makes it impossible to create a distribution of the angle changes corresponding in all of its properties to the observed one, without making the angular speed inversely proportional to the tumbling length. Although such an approach is easy to implement, the resulting model would be characterized by a lack of mathematical aesthetic. Therefore, the distribution was chosen to be independent on the tumbling length and tuned to as good as possible fit the empirical one (see [1]). The resulting distribution had, as the observed one, a nonzero maximum, and a mean between 60° and 70°. However, the standard deviation was 47°, 11° higher than the observed one of 36°.

Angular Velocity during Directed Movement

Different to the angular velocity during tumbling, the angular velocity during directed movement phases can be drawn from a tuned distribution to fully reproduce the experimental data (see [1]): mean of 23° and standard deviation of also 23°. We assumed that the angular speed during one time step is normally distributed with zero mean and a standard deviation of σ. Thus, as one directed movement period consists of N=<run length>/Δt integration steps, the change in angle after one directed movement period has zero mean and a standard deviation of
σrun=σ Δt N½ = σ<run length>½Δt½.
The literature values of change in angle are however given as absolute values. This corresponds to calculating χ-distribution of the angular change, which has in this case the mean value of μχ=(2/π)½σrun and a standard deviation of σχrun. Since (2/π)½≈0.8 and thus the resulting mean and standard deviations are similar to each other as experimentally observed, we have chosen a standard deviation of
σ=(π/2)23°<run length>Δtfor our model. The resulting distribution of the angular change during directed movement periods resembles closely to the experimentally available values (see simulation results).

Simulation Results

For our simulations, we have chosen a timestep Δt=0.03s, which is around five times smaller than the smallest time constants in the cell motility model, as well as over ten times smaller than the time constant with which the CheYp concentration changes in the molecular model (for details, see optimal experimental design).

Evaluation of the Model

To evaluate the movement model, we performed several long time simulations under constant conditions (bias set to its wild-type steady state value of around 0.85) and determined its characteristics which might be compared to the known properties of the motility of E. coli cells as given in [1] and described above.

Run Length Distribution. The distribution is approximately exponential with a mean value of 0.87s and a standard deviation of 0.86s.
Tumbling Length Distribution. The distribution is approximately exponential with a mean value of 0.14s and a standard deviation of 0.12s.
Distribution of the absolute angle change during one directed movement phase. The distribution is approximately χ-distributed with mean 20.5° and standard deviation 20.1°.
Distribution of the absolute angle change between two directed movement phases. The distribution has similar properties as the one experimentally observed in [1]. Its mean value is 62.3° and its standard deviation 47.0°.

Variations in input bias

Furthermore, we simulated the spatial behavior of a single E. coli cell under the influence of different input bias values. For a more realistic simulation of the bacterial movement process, the input bias was obtained directly from the combined molecular model linking the chemotaxis pathway and the light switch. As the combined model offered us many design alternatives for performing simulations, we decided on a fixed molecular template, to ease the comparison of results.

The chosen molecular template for simulating the movement model was the following:

  • molecular model chosen: Spiro et al. [3]
  • controlled Che species: CheY
  • Light coupling: CheY-PIF3 & PhyB-Anchor

Each row of the subplots table presented below represents a different input bias value for the movement model, obtained as a result of different input protein concentrations for the combined molecular model. Each column represent a different simulation length (100 seconds, 500 seconds and 3000 seconds).

The input protein concentrations used, together with the corresponding obtained steady-state bias were the following:

ETH iGEM movement simulations table.png

All the simulations were run without the existence of any controller algorithm, therefore reproducing the random chemotaxis walk.

Please note the different spatial ranges when comparing the plots, increasing both with increasing simulation time length (the bacterium travels a longer distance in a longer time period) and with increasing bias value (the probability of choosing the directed movement state increases, therefore, on average, the cell travels a longer distance).


Bacterial random walk for different input bias values and different simulation times The plots were generated under different initial conditions of the molecular model, resulting in different values for the input bias. As seen by analyzing the plots row-wise, an increasing bias value leads to increasing directed movement periods. The culminating point is a bias value of 0.99, equivalent to almost continuous directed movements. Also to be noted is the gradual smoothing of direction changes between directed movement states, with increasing bias value. The effect of the simulation time can be seen by analyzing the plots column-wise. The same movement pattern observed during the first 100 seconds is repeated over a longer time period, providing an overview of the long - term chemotaxis spatial behavior.
Note the increasing axis range, both on the x and on the y coordinate, due to both increasing bias value and increasing simulation time.

Directed movement/Tumbling

For the above simulated trajectories, we generated the so-called directed movement/tumbling plots used in analyzing chemotaxis motility from the perspective of boolean movement - time dependency. For providing a better visibility of the individual steps of the movement process, in the left figure only the first 60 seconds of the above simulations were considered, while in the right figure a detailed insight into the first 30 seconds is provided.

The directed movement tumbling plots for three different input bias values for 60 seconds simulation time Movement value of 1 represents the directed movement state, while movement value of 0 represents the tumbling state. Simulation time was 60 seconds, with sampling at every 0.03 seconds. As expected, the density of the plots is decreasing with increasing bias value, since the ratio directed movements/tumbling is increasing. In the limit case of 0.99 bias, the tumbling periods are not noticeable, the bacterial behavior consisting almost entirely of tumbling.
The directed movement tumbling plots for three different input bias values for 30 seconds simulation time The effect of the input bias is even more visible at a higher resolution. For lower bias value, tumbling occurs more often (upper plot) and it is gradually eliminated with increasing bias.

Download

The bacterial movement model is included within the Matlab Toolbox and can be downloaded there.

References

[1] H.C. Berg, D.A.Brown: Chemotaxis in Escherichia coli analysed by three - dimensional Tracking. Nature 1972 239, 500 - 504

[2] Levin, Morton-Firth: Origins of Individual Swimming Behavior in Bacteria, Biophysical Journal 1998 74:175-181

[3] Spiro et al: A model of excitation and adaptation in bacterial chemotaxis. PNAS 1997 94;14;7263-7268.