Team:ETHZ Basel/Modeling/Movement

From 2010.igem.org

(Difference between revisions)
(Direction changes)
(Directed movement/Tumbling)
 
(180 intermediate revisions not shown)
Line 3: Line 3:
= Modeling & Simulating Bacterial Movement =
= Modeling & Simulating Bacterial Movement =
-
 
-
While the biologists are busy teaching ''E. coli'' how to respond to light, the modelers thought of simulating the soon-to-be E. lemming electronically. This will close the modeling loop of our system and will allow us to check the imaging pipeline, microscope analysis & joystick control even without having the real E. lemming under the microscope.
 
-
 
-
<br>
 
== Overview ==
== Overview ==
-
[[Image:ETHZ_Basel_molecular_move.png|thumb|400px|'''Fig1. Schematical overview of the relation between chemotaxis and the movement model.''']]
+
[[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 in the chemotaxis receptor model, there is an equally challenging molecular mechanism on side of the flagella, responsible for the movement of the bacterium.
+
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 realistic features of cell motility, we implemented a probabilistic model, which performs in accordance to the existing empirical observations on the chemotaxis movement. At every time point of the simulation, CheYp concentration is received as an input from the [[Team:ETHZ_Basel/Modeling/Chemotaxis| chemotaxis pathway]] model. This input determines the direction (CCW or CW) of rotation of the flagellar motor. 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 unchanged spatial coordinates.
+
-
<br>
+
-
The coupling of the probabilistic movement model with the molecular model ensures that we can realistically simulate the variations in motility with the variations in protein concentrations.  
+
-
<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.
-
== Concepts ==
+
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.
-
The main concepts we used in deriving and implementing our model are based on the most important features observed in the real behavior of ''E. coli''. These features are:
+
-
==== Bias ====
+
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.
-
[[Image:Bias.png|thumb|400px|'''Fig 2. The sigmoid dependency between CheYp concentration and probability of directed movement''']]
+
-
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 directed movement state with respect to the total observation time. Our choice for bias formulation was a nonlinear Hill - type function of CheYp concentration, with one of the parameters 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 from the literature side [[Team:ETHZ Basel/Modeling/Movement#References|[2]]]. <br>
+
-
[[Image:ETHZ_iGEM_bias.PNG]]
+
 +
== Known Features of Chemotaxis Motility ==
 +
[[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:
-
At every time point of the simulation, the cell probabilistically chooses whether to employ directed movement or to tumble, depending on the value of the bias.
+
* 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;.
-
==== Mean times ====
+
==Assumptions==
-
An important way of characterizing the cell's behavior is by statistically observing it over a longer time period.<br> From this aspect, the '''mean tumbling length''' is the average time the cell spends in between two directed movement states, while the '''mean run length''' is the average time spent in the directed movement state. <br>
+
===Mean Times===
-
[[Image:ETHZ_iGEM_run_tumble.PNG]]
+
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>
-
==== Direction changes ====
+
===Velocity===
-
The tumbling angle is the change of direction between two directed movements. Since we are working with a continuous model, the derivative of the angle (i.e. angular velocity) is sampled for every tumbling, from a distribution resembling the empirically observed one [[Team:ETHZ Basel/Modeling/Movement#References|[1]]].
+
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>
+
<br> Therefore, we assumed in our model that the velocity during directed movements is constant and zero during tumbling.
-
As stated above, the model allows direction changes also during directed movements periods. In contrast to the tumbling state, this angle change is much smaller, being drawn from a normal distribution with 0 mean and standard deviation obtained from the literature [[Team:ETHZ Basel/Modeling/Movement#References|[1]]].
+
-
<br>
+
-
Since the cell could either move clockwise or couterclockwise at every step of the simulation, the angle and tumbling speed distributions are always symmetrical about 0. <br>
+
-
This ensures a realistic simulation of bacterial movement, not only asymptotically, analyzed through statistical estimates, but also in each time - point, analyzed through individual changes in spatial coordinates and direction.
+
-
=== Transition Probabilities ===
+
===Direction Changes===
-
One of the biggest 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.<br>
+
 
-
In order to achieve this, we opted for 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 any possible state, we can define the following four transition probabilities, separately controlled depending on whether the cell is currently running or tumbling.<br>
+
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]]].
 +
 
 +
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.''']]
 +
 
 +
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&mu;m/s and changes direction only slightly (see [[Team:ETHZ Basel/Modeling/Movement#References|[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 ==
 +
[[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>
-
{| border="0" style="text-align:center"
+
[[Image:ETH iGEM transition probabilities.PNG|500px]]
-
|-
+
-
|
+
-
| next state
+
-
|-
+
-
| current state
+
-
|
+
-
{| border="1" style="text-align:center"
+
-
|-
+
-
|
+
-
| '''Running'''
+
-
| '''Tumbling'''
+
-
|-
+
-
| '''Running'''
+
-
| p1
+
-
| 1 - p1
+
-
|-
+
-
| '''Tumbling'''
+
-
| 1 - p2
+
-
| p2
+
-
|-
+
-
|}
+
-
|-
+
-
|}
+
<br>
<br>
-
Therefore, the two central parameters of our model are the probabilities of keeping the current state also as future state: the probability of the future state being running, when the current state is running (p1) and probability of the future state being tumbling, when the current state is tumbling (p2).
 
<br>
<br>
-
In deriving the expression of these probabilities, we separately and symmetrically focused on the two processes: running and tumbling. As a consequence, the mean running length is only dependent on the timestep and on the probability of continuing running (p1), while the mean tumbling length is only dependent on the timestep and on the probability of continuing tumbling (p2).
+
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>
<br>
-
We will explain 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.
+
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>
<br><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 definition of an expected value, the mean running length becomes an infinite sum over all possible consecutive running-lengths, multiplied by their respective occurrence probabilities.<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]]
[[Image:ETHZ_iGEM_mean_run_length.PNG|center]]
-
==Assumptions==
+
== Direction Changes ==
-
The assumptions of our model were taken in accordance with the existing experimental data on the chemotaxis movement [1]. The mean tumbling length was assumed to be constant, unlike the mean running length, which is a function of the bias. Besides the experimental evidence, 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 (running). The duration spend in tumbling is a stochastic variable mainly representing the time the flagella afterwards need to reassemble, and a single process of reassembling is only weakly correlated with the frequency of tumbling.<br>  
+
=== 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" />
-
[[Image:ETHZ_iGEM_bias_math.PNG|900px]]
+
=== Angular Velocity during Directed Movement ===
-
<br>
+
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/>
-
Furthermore we assumed that the mean velocity during runs is constant.
+
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]]).
-
== Algorithm ==
+
== Simulation Results ==
-
[[Image:ETHZ_movement_algo_flow.png|thumb|450px|'''Fig 3. Schematic overview of the algorithm used to model chemotaxis motion as influenced by the CheYp level in the cell.''']]
+
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]]).
-
We use a two state model that reflects the two states the cell can be in through out its motion - swimming state & the tumbling state. At each time-step of the simulation, the cell will either stay in the same state or will switch the state according to these probabilities. Details of these probability values can be found below.
+
=== 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;.]]
 +
|}
-
In each of these states, there is a transition probability to switch to the other states. As described above, we have the probability P1 that tells us the probability of switching to the tumbling state when the cell is currently in the swimming state and also the probability P2 that that reflects the probability of switching to the running state. At each timestep, the decision whether to run or tumble in the next timestep is taken based on these two probabilities.  
+
=== 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.
-
If the decision was to run in the next timestep, the cell will be moved to it's next point with a velocity that agrees with literature [1]. Also, there is a slight deviation in the angle it moves during running. This angle is much smaller than the angle change during a tumbling timestep & it is sampled from a distribution that is suggested based on empirical data [1].
+
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
-
During a tumbling timestep, the angle of tumbling is decided such that the tumbling angles is a Weibull distributed random variable as suggested in [1].
+
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).
-
We have made sure that the movement simulated using the algorithm agrees with the observed behaviour of E. coli in chemotactix motion.
+
The input protein concentrations used, together with the corresponding obtained steady-state bias were the following:
-
<br>
+
-
== Simulation Results ==
+
[[Image:ETH_iGEM_movement_simulations_table.png|700px]]
-
[[Image:NOTFINAL.png|thumb|450px|'''Fig 4. Simulated trajectory (random walk in chemotaxis) at a bias of 0.85''']]
+
 
-
The most interesting part regarding the results of the Movement Model is the comparison of the behavior of the bacterium at different values of the input bias.
+
All the simulations were run without the existence of any controller algorithm, therefore reproducing the random chemotaxis walk.
-
Figure 2 shows simulations lasting 2500 seconds, for different bias values (final image to be uploaded)
+
 
 +
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).
 +
 
 +
 
 +
[[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.
 +
<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. ]]
 +
 
 +
=== 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.]]
 +
|}
 +
 
 +
== Download ==
 +
The bacterial movement model is included within the [[Team:ETHZ_Basel/Achievements/Matlab_Toolbox|Matlab Toolbox]] and can be downloaded there.
== References ==
== References ==
-
[1] Chemotaxis in Escherichia coli analysed by three - dimensional Tracking. H.C. Berg, D.A.Brown: Nature 239, 500 - 504. 1972
+
[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]
-
<br>
+
 
-
[2] Levin, Morton-Firth (1998), "Origins of Individual Swimming Behavior in Bacteria", Biophysical Journal 74:175-181
+
[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]
 +
 
 +
[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.