Team:SEU A/Modeling

From 2012.igem.org

(Difference between revisions)
Line 138: Line 138:
The method of judging whether the image processing above is reliable is to verify whether the number of bacteria conform to the S-curve changes over time. Furthermore, it is to select some appropriate forms of S-shaped curve and if the fitting results is relatively good, the data are regarded to be consistent with the S-shaped curve, that is to say, the image processing method is credible.</br>
The method of judging whether the image processing above is reliable is to verify whether the number of bacteria conform to the S-curve changes over time. Furthermore, it is to select some appropriate forms of S-shaped curve and if the fitting results is relatively good, the data are regarded to be consistent with the S-shaped curve, that is to say, the image processing method is credible.</br>
       Select the logistic function used to describe the symmetric S-shaped curve to fit. The expression of the logistic function is:</br>
       Select the logistic function used to describe the symmetric S-shaped curve to fit. The expression of the logistic function is:</br>
-
         </html>[[File:Seua_model_exp1_ola1.jpg|500px|center|Seua_model_exp1_ola1]]<html><right>(4-1)</right>
+
         </html>[[File:Seua_model_exp1_ola1.jpg|90px|center|Seua_model_exp1_ola1]]<html>(4-1)</br>
       Where A,B,C are unknown parameters.</br>
       Where A,B,C are unknown parameters.</br>
       Use ‘cftool’ in Matlab to fit the eight groups of data of the eight plaques, with the default method of least squares. After selecting the appropriate initial value for the three parameters, the results can be obtained quickly. By the fitting of eight groups of data, we found all the right parameters A,B,C to make data points distributing on both sides of the fitted curve and variance is small. If so, it is considered that the eight groups of data conform to the S-shaped curve, and that the image processing above is reliable
       Use ‘cftool’ in Matlab to fit the eight groups of data of the eight plaques, with the default method of least squares. After selecting the appropriate initial value for the three parameters, the results can be obtained quickly. By the fitting of eight groups of data, we found all the right parameters A,B,C to make data points distributing on both sides of the fitted curve and variance is small. If so, it is considered that the eight groups of data conform to the S-shaped curve, and that the image processing above is reliable

Revision as of 22:48, 26 September 2012

iGEM 2012 SEU_A Human Practice

modeling

The ebb and flow of E. coli in computer..
Southeast University Project

Index


1 Analysis of E.coli and Bdellovibrio’s growth in the number of speed by a group of photographs


Abstract: Based on the observations at intervals of several days, and the photos of the plaque in the process of E. coli and Bdellovibrio group’s growth in the same dish taken at a high resolution for experimental, we use of the image processing functions of Matlab to simplify the statistics and calculate the relative quantities of the two bacteria at the observation time in the dish. The results also verify whether the experimental results conform to the classical S-shaped curve, and estimate the bacterial growth rate in every moment, in order to analyze the bacterial growth’s features under the conditions of the experiments.
Key words: Bacterial growth High resolution photos Image processing S-shaped curve fitting.

   1.1 The classical model of the flora growth

Under normal circumstances, a growth curve can be obtained with the time as abscissa and the logarithmic of the number of viable cells as ordinate. The curve shows the four periods of the bacterial growth and reproduction: the lag period, the logarithmic period, the stable period, the decline period. The lag period is the transient process the bacteria adapt to the new environment after being inoculated to the medium. In this period, the curve is flat and stable because of slow bacterial multiplication. The number of viable bacteria will soar when it reaches the logarithmic period. The bacteria will grow at stable geometric series, and can last sustainably hours and days (depending on the conditions and bacterial generation). Moreover, bacteria’s form, dyeing and biological activity in this period are all very typical which is sensitive to environmental factors, so it’s the best period to research the bacterial traits. When it reaches the stable period, however, the total number of flora is in the flat stages due to the relative relationship of nutrition and the number of bacteria, but bacterial viability changes greatly. Finally, bacterial growth will get slower in the decline period, and the number of the dead bacteria will apparently increase. In addition, the number of viable cells and the incubation time are in inversely proportional relationship. Mastering the bacterial growth’s law, we can study the method of controlling the growth of pathogenic bacteria, discovering and developing bacteria useful to human.

   1.2 Assumptions and simplifications

1. Imagine that plaque is dense, that is to say, it’s always a simply connected area in surface of the two-dimensional dish.
2. Imagine that the plane occupied by the plaque in the culture dish is proportional to the number of bacteria in it.
3. Under the experimental conditions, imagine that E. coli is the only food of Bdellovibrio, and nutrients of E. coli are provided by the medium sufficiently.
4. The occasional small amount of bacteria in the edge of dish is ignored, and dripping or splashing a small amount of bacteria into the location of the error place in the initial state is considered to have no impact on the normal experimental bacteria.
5. After appropriate image processing, the light and its changes’ effects to the photos are ignored.
6. As to the fuzzy edge of the plaque, the area is considered to be the largest and smooth edges simply connected region.

   1.3 Assumptions

3.1 Photos’ preprocessing
1. Select photos artificially. Remove the ones whose light effects apparently different from most of the photos, as well as the ones which appear the situation that two plaque overlap and stick together and the overlapping area is large in the later observations, so as not to increase the difficulties of unified image processing.
2. Rename all the photos by unified format. The format is ‘experimental group + days + hours + minutes xxx’, (such as ‘3111111’ meaning the third group at 11:11 on the 11th), which is beneficial to the unified automatic processing.
3. The few overlapping points of two plaques are considered to have no effects on these two, so use Photoshop to change the connections as the background color, in order to processing uniformly.

3.2 Calculation of the plaques’ area
1. After reading the photos, select the appropriate threshold to transform the photos into a binary image, according to the light conditions.
2. Identify all the connected regions, and remove the smaller ones (maybe caused by useless bacteria or lens’ dust).
3. Because of the light and its reflection in every photo, the edges of culture dishes are always lit, which require removing the large connective regions in the edges.
4. Calculate the area of the other connective regions, which is all the plaque area.
5. Use the area above as the relative number of bacteria, and pixel as the unit. Similarly, the number of bacteria growth rate is in unit of pixel/ unit time. And it is the same way if ‘the number of bacteria’, ‘the relative quantities of the bacteria’ and ‘the rate of bacteria growth’ in the paper is not particularly described.

   1.4 Results and analysis

4.1 Figure of the changes in the number of E. coli and Bdellovibrio
Seua model exp1 fig4.1
Fig 4.1  Changes in the relative number of E. coli
Seua model exp1 fig4.2
Fig 4.2  Changes in the relative number of Bdellovibrio
Specific statistics can be seen in Appendix.
4.2 Changes in the number of experimental bacteria and comparison with the classic model
The method of judging whether the image processing above is reliable is to verify whether the number of bacteria conform to the S-curve changes over time. Furthermore, it is to select some appropriate forms of S-shaped curve and if the fitting results is relatively good, the data are regarded to be consistent with the S-shaped curve, that is to say, the image processing method is credible.
Select the logistic function used to describe the symmetric S-shaped curve to fit. The expression of the logistic function is:
Seua_model_exp1_ola1
(4-1)
Where A,B,C are unknown parameters.
Use ‘cftool’ in Matlab to fit the eight groups of data of the eight plaques, with the default method of least squares. After selecting the appropriate initial value for the three parameters, the results can be obtained quickly. By the fitting of eight groups of data, we found all the right parameters A,B,C to make data points distributing on both sides of the fitted curve and variance is small. If so, it is considered that the eight groups of data conform to the S-shaped curve, and that the image processing above is reliable The fitting results of a particular group are as follows:
Seua model exp1 fig4.3
Fig 4.3 Fitting results of S-type curve
Seua model exp1 fig4.4
Fig 4.4 Fitting results analysis in Matlab
4.3 Estimation and analysis of the rate of experimental bacteria growth
Seua model exp1 fig4.5
Fig 4.5 Growth rate of E. coli
Seua model exp1 fig4.6
Fig 4.6 Growth rate of the Bdellovibrio
Specific statistics can be seen in Appendix.
The method of calculating the growth rate here is to calculate the difference quotient.
It is shown in the figure that there are all downward trends in the growth rate of E. coli and Bdellovibrio. The growth rate rebound in the 30th to 40th hour, which is likely to be affected by the large base of bacteria and the rich surrounding nutrients. In addition, the rebound of E. coli within 20th to 30th hour may be influenced by changes in light intensity in the fourth, five photos( respectively shooting at 19.8 and 23.5 hours).
If the plaque is regarded as a single connected area with smooth edge, the radius of curvature of a point can be obtained by the image processing, so the outwardly extending rate in the radius direction at a certain time can also be obtained by solving a quadratic equation.


   1.5 Shortcomings and improvements

1. Since the first step of the image processing requires threshold value pictures, therefore the lighting situation, especially in light colors and light intensity, have a significant effect on the results. Accidental illumination changes caused by tiny accidental error can be ignored, but it must be required that the natural light is weak, and the indoor light, camera distance, angle and camera parameters must remain constant at least in the same set of photos, in order to avoid systematic errors. However, we did not notice in the experiments when taking photos, so that the light intensity of the first to the fourth sheets of the third group is significantly different from the ones after the fourth photo. Even though the appropriate processing is performed by changing the binarization threshold, there inevitably exist some small systematic error. If the similar phenomenon can be avoided in the next experiments, the accuracy of the data will surely be able to improve.
2. In the 6th assumption, ‘As to the fuzzy edge of the plaque, the area is considered to be the largest and smooth edges simply connected region. ’, which really brings convenience to the image processing, but it will make a large systematic error in the calculation of the number of bacteria produce. Taking into account that the experimental purpose is to explore the elongation ability of the bacteria in the unit time in the dish plane, however, and the main aim of the calculation and analysis of the number of bacteria is to increase the reliability of classic model. Therefore, this error can be accepted.
3. Plaque on a plane may be different in thickness; there may be impurities in plaque; plaque may also be non-dense. The factors above will all result in the absolute number of bacteria is not proportional to the area of plaque on the photo. If the error cannot be ignored, the calculation of the number of bacteria will be influenced. But as it is described in 2, they do not affect the primary purpose of the study.

   1.6 Reference

[1] 许金泉,张娟,马琼瑜,李云.细菌(数量)生长规律的数学模型[J].云南大学学报(自然科学版),2008,30(S2):157~159.
[2] 夏结来,徐雷,陈长生.S型曲线的一种新的拟合方法[J].中国卫生统计.2001,18(4),195~197.

   1.7 Download

You may download pdf. version of this article here:
Analysis of E.coli and Bdellovibrio’s growth in the number of speed by a group of photographs. pdf



1 Exp.2


   2.1 Summary



   2.2 Model



   2.3 Assumptions



   2.4 Solution



   2.5 Evaluation



   2.6 References






Southeast University

Biomedical Engineer School, SEU | iGEM 2012

Copyright © Southeast University iGEM 2012 Team A, All rights reserved.