Difference between revisions of "Team:TU Darmstadt/Model/Biofilm Modeling"

Line 38: Line 38:
  
 
         <div>
 
         <div>
Microbial growth varies depending on environmental conditions. Laboratory experiments are necessary to determine the optimal growth conditions for the biofilm’s special purposes, and thus ultimately to save time and money in the production (growth phase) of our biofilm. This year, we had to find an alternative approach to gather these data, as wet lab work was not possible.<br>
+
<b>Microbial growth</b> varies depending on <b>environmental conditions</b>. Laboratory experiments are necessary to determine the <b>optimal growth conditions</b> for the biofilm’s special purposes, and thus ultimately to <b>save time and money</b> in the production (growth phase) of our biofilm. This year, we had to find an alternative approach to gather these data, as wet lab work was not possible.<br>
Therefore, we developed biofilm <a href="https://2020.igem.org/Team:TU_Darmstadt/Software">software tool</a> in the programming language Python in collaboration with <a href="https://2020.igem.org/Team:Hannover">iGEM Hannover 2020</a>. Depending on the environmental conditions (e.g. temperature, substrate concentration) the program delivers values that are representative for the quality of the biofilm (e.g. cell density, cell distribution). Thus, it is possible to estimate which growth conditions are to be considered and which are not. In addition, we have extended the model in such a way that adhesive forces of the cells can be calculated. This allows an estimation about the maximum water flow strength in the later place of application, a sewage treatment plant, without the biofilm losing a significant number of cells through abrasion.To verify our computations, it is necessary to analyze the data. One important aspect is, whether the bacterial growth fits the expectations. To examine the results, we plotted the bacteria number as a function of the time.
+
Therefore, we developed <b>biofilm</b> <a href="https://2020.igem.org/Team:TU_Darmstadt/Software"><b>software tool</b></a> in the programming language <b>Python</b> in <b>collaboration with</b> <a href="https://2020.igem.org/Team:Hannover"><b>iGEM Hannover 2020</b></a>. Depending on the environmental conditions (e.g. temperature, substrate concentration) the program <b>delivers values</b> that are <b>representative for the quality of the biofilm</b> (e.g. cell density, cell distribution). Thus, it is possible to estimate which growth conditions are to be considered and which are not. In addition, we have extended the model in such a way that <b>adhesive forces of the cells can be calculated</b>. This allows an <b>estimation about the maximum water flow strength</b> in the later place of application, a sewage treatment plant, without the biofilm losing a significant number of cells through abrasion.To <b>verify our computations</b>, it is necessary to <b>analyze the data</b>. One important aspect is, whether the bacterial growth fits the expectations. To examine the results, we <b>plotted the bacteria number as a function of the time</b>.
 
<br>
 
<br>
  

Revision as of 14:47, 25 October 2020

image/svg+xml - O O



Introduction

Microbial growth varies depending on environmental conditions. Laboratory experiments are necessary to determine the optimal growth conditions for the biofilm’s special purposes, and thus ultimately to save time and money in the production (growth phase) of our biofilm. This year, we had to find an alternative approach to gather these data, as wet lab work was not possible.
Therefore, we developed biofilm software tool in the programming language Python in collaboration with iGEM Hannover 2020. Depending on the environmental conditions (e.g. temperature, substrate concentration) the program delivers values that are representative for the quality of the biofilm (e.g. cell density, cell distribution). Thus, it is possible to estimate which growth conditions are to be considered and which are not. In addition, we have extended the model in such a way that adhesive forces of the cells can be calculated. This allows an estimation about the maximum water flow strength in the later place of application, a sewage treatment plant, without the biofilm losing a significant number of cells through abrasion.To verify our computations, it is necessary to analyze the data. One important aspect is, whether the bacterial growth fits the expectations. To examine the results, we plotted the bacteria number as a function of the time.

Theoretical Background

Growthplot

Since the goal of the simulation is to provide a detailed insight into bacterial growth, a simple growth plot would not be sufficient. To calculate growth factor and generation time, transformation of the data was necessary. A standard procedure would be the semi-logarithmic representation of the exponential phase.
$$ N = N_0 * e^{kt} $$ $$ ln(N) = kt + ln(N_0)$$ The result is a straight-line equation. The slope of this line is the growth coefficient. To be able to calculate the generation time it is necesary to apply the following relation.
$$ generationtime = ln(2) / k $$ We considered only bacteria numbers which differ from the starting number to keep the bias from non-exponential growth phases low[1].

Histograms and Kernel Density Function

A good way to analyze distributed values is to display them in a histogram. In some cases it is good to display the height of the bars as normalized values. In this case normalized refers to the sum of the histograms' area is equal to one. Furthermore, a probability density function (pdf) was computed using a kernel density estimator (kde)[2]. Whether we used seaborn's kde function it is necessary to give a quick overview on the theory. A kde computes the value of the pdf at position x using the following formula and the Kernelfunction \(K()\).
$$ \hat{f}_h(x) = \frac {1}{nh} * \sum_{i=1}^n K((x-x_i)/ h) $$ Xi gives the value of the i-th observation and h is the bandwidth of the kernels and n the number of observations[3].

Results

The first plot in the sliders was from a simulation with the following Parameters:
while the second plot was from a simulation using the following parameters:

When it comes to analyzing our simulation results, growth kinetics plays an important role. In the upper plot you can see the bacteria number as a function of time. One can already conclude from looking at the curve whether the resulting values follow basic growth kinetic. The following plot shows a semi logarithmic curve. We calculated the growth coefficient and the generation time with the linear Regression model from sklearn[4]. The calculated generation times ~3518 s (first run) and ~4080 s (second run) differ by 982 s and 420 s from the generation time found in literature (4500 s). The difference is smaller than the standard deviation ( 1215 s) implying our results were reasonably close to literature values [5]. For future projects this could help to choose a fast-growing bacteria strain.

figure
figure


Bacterium length is a specific parameter for different species. Also bacteria differ in length, there is an underlying distribution centered around a mean value[5]. An easy way to verify the values is to plot them in a histogram. There are papers displaying bacteria length as a probability density function. So, we decided to add a probability density function (pdf) to our plot. We realized this by using the seaborn[2] displot function which allowed us to combine a histogram with a pdf. Our results showed a right drift in the distribution. This seems normal as the literature suggests that there is a right drift in the length distribution [5]. In conclusion our simulated data has a high similarity with literature values [5].

figure
figure


The left plot shows the special distribution of bacteria on a surface in two dimensions while the left plot indicates the underlying density of occurrence of bacteria. The Bacteria spawned random in a range of 200 – 400 microns from the origin for the x and y-axis. As you can see the bacteria were drifting off due to environmental influence (gravity force, Van der Waals Force) as well as random movement of the bacteria itself. As our software is capable of simulating different Bacteria Types with different parameters, this plot indicates which parameters lead to optimal surface coverage depending on the application.

figure
figure


On this plot we can see the normalized number of bacteria over the velocity. The probability density function (pdf) was calculated using seaborns build in kernel density estimator. We plotted the number of bacteria over velocities to show which velocity our bacteria are approaching in our biofilm formation. As you can see below the Bacteria are approaching velocities between 0.1 μm/s and 0.8 μm/s.

figure
figure


The forces acting on a bacterium give insight into environmental conditions. Adhesion forces may indicate biofilm formation. Also, a high stokes drag force indicates eps in the environment. High forces may indicate bacteria living in the biofilm.

figure
figure