Difference between revisions of "Team:HZAU-China/Description"

Line 1: Line 1:
 
{{HZAU-China}}
 
{{HZAU-China}}
 
 
<html lang="en">
 
<html lang="en">
 
<head>
 
<head>
 
+
    <meta charset="UTF-8">
 +
    <title>body</title>
 
     <style>
 
     <style>
 
         *{margin: 0;padding: 0;}
 
         *{margin: 0;padding: 0;}
Line 27: Line 27:
 
             background-color: white;
 
             background-color: white;
 
         }
 
         }
        .content_part{
+
              .content_part{
 
             width: 20%;
 
             width: 20%;
 
             height: auto;
 
             height: auto;
Line 35: Line 35:
 
             border-radius: 50%;
 
             border-radius: 50%;
 
         }
 
         }
      .content_part>a{
+
        .content_part>a{
 
             text-decoration: none;
 
             text-decoration: none;
 
             color: white;
 
             color: white;
 
             font-family: Arial;
 
             font-family: Arial;
             font-size: 20px;
+
             font-size: 16px;
 
             display: block;
 
             display: block;
 
             padding-left: 10% ;
 
             padding-left: 10% ;
Line 98: Line 98:
 
             color: #e7376d;
 
             color: #e7376d;
 
         }
 
         }
        .random{
+
        .random{
 
             position: relative ;
 
             position: relative ;
 
         }
 
         }
Line 117: Line 117:
 
             color: #1e6ed0;
 
             color: #1e6ed0;
 
         }
 
         }
        .article h3{
+
        .article h3{
 +
            line-height:120%;
 
             display: block;
 
             display: block;
 
             background-color:white;
 
             background-color:white;
 
             padding-top:20px;
 
             padding-top:20px;
            padding-bottom:15px;
+
             font-size: 30px;
             font-size: 35px;
+
 
             font-family: Helvetica;
 
             font-family: Helvetica;
 
             color: #0783d6;
 
             color: #0783d6;
Line 129: Line 129:
 
         .article h4{
 
         .article h4{
 
             display: block;
 
             display: block;
             padding-top: 20px;
+
             padding-top: 18px;
            padding-bottom:15px;
+
 
             background-color: white;
 
             background-color: white;
 
             font-size: 25px;
 
             font-size: 25px;
 
             font-family: Calibri;
 
             font-family: Calibri;
 
             color: #0f9ad6;
 
             color: #0f9ad6;
 +
        }
 +
        .article img{
 +
            display:block;
 +
            margin:0 auto;
 +
        }
 +
        .article video{
 +
            display:block;
 +
            margin:0 auto;
 
         }
 
         }
 
         .pointer1{
 
         .pointer1{
 
             position: absolute;
 
             position: absolute;
             top: 46%;
+
             top: 37.5%;
 
             left: 5%;
 
             left: 5%;
 
             z-index: 100;
 
             z-index: 100;
Line 144: Line 151:
 
         .pointer2{
 
         .pointer2{
 
             position: absolute;
 
             position: absolute;
             top: 83%;
+
             top: 68%;
 
             left: 5%;
 
             left: 5%;
 
             z-index: 100;
 
             z-index: 100;
Line 150: Line 157:
 
         .pointer3{
 
         .pointer3{
 
             position: absolute;
 
             position: absolute;
             top: 92.5%;
+
             top: 77%;
 
             left: 5%;
 
             left: 5%;
 
             z-index: 100;
 
             z-index: 100;
Line 156: Line 163:
 
         .pointer4{
 
         .pointer4{
 
             position: absolute;
 
             position: absolute;
             top: 100%;
+
             top: 84.5%;
 
             left: 5%;
 
             left: 5%;
 
             z-index: 100;
 
             z-index: 100;
 
         }
 
         }
 
     </style>
 
     </style>
 +
 +
    <script type="text/javascript"
 +
            src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
 +
    </script>
  
 
     <script type="text/javascript">
 
     <script type="text/javascript">
Line 192: Line 203:
  
 
     <div class="content_part" id="masterdiv">
 
     <div class="content_part" id="masterdiv">
         <a href="#A1">Wet Lab</a>
+
         <a href="#A1">motility dynamic model</a>
 
         <div class="menutitle" onclick="SwitchMenu('sub1')">
 
         <div class="menutitle" onclick="SwitchMenu('sub1')">
 
             <div class="little"></div>
 
             <div class="little"></div>
Line 203: Line 214:
 
         </ul>
 
         </ul>
  
         <a href="#A2">Dry lab</a>
+
         <a href="#A2">Multiply model</a>
 
         <div class="menutitle" onclick="SwitchMenu('sub2')">
 
         <div class="menutitle" onclick="SwitchMenu('sub2')">
 
             <div class="little"></div>
 
             <div class="little"></div>
Line 234: Line 245:
 
     <div class="main_part">
 
     <div class="main_part">
 
         <img src="https://static.igem.org/mediawiki/2016/2/2b/Hzau16_team_paper_main_picture.png"  width="168px" height="2503px">
 
         <img src="https://static.igem.org/mediawiki/2016/2/2b/Hzau16_team_paper_main_picture.png"  width="168px" height="2503px">
         <div class="pointer1"> <img src="https://static.igem.org/mediawiki/2016/f/fc/T--HZAU-China--pointer3.png"></div>
+
         <div class="pointer1"> <img src="pointer3.png"></div>
         <div class="pointer2"> <img src="https://static.igem.org/mediawiki/2016/7/78/T--HZAU-China--pointer2.png"></div>
+
         <div class="pointer2"> <img src="pointer2.png"></div>
         <div class="pointer3"> <img src="https://static.igem.org/mediawiki/2016/0/04/T--HZAU-China--pointer4.png"></div>
+
         <div class="pointer3"> <img src="pointer4.png"></div>
         <div class="pointer4"> <img src="https://static.igem.org/mediawiki/2016/3/3b/T--HZAU-China--pointer1.png"></div>
+
         <div class="pointer4"> <img src="pointer1.png"></div>
        <div class="article">
+
            <h2 class="head" >Attributions</h2><br/>
+
  
            <p>Integrative Design of circuit: Pan Chu, Kangjian Hua</p><br/>
+
          <div class="article">
 
+
            <h2 class="head" >Model</h2><br/>
 
+
             <p>The density distributions of bacteria in culture medium depends on two factors: motility and multiply of bacteria. For convenience, we will discuss these two factors separately.</p>
 
+
<div class="random"><a id="A1" ></a></div>
+
             <h3>Wet Lab</h3>
+
  
 
             <div class="random"><a id="A11" ></a></div>
 
             <div class="random"><a id="A11" ></a></div>
             <h4>Optogenetics</h4>
+
             <h3>motility dynamic model</h3>
             <p>Clone and construction of light-switchable circuit: Boyao Zhang, Jun Li</p>
+
             <p>In this project, we are trying to control the motility of bacteria by control the light matrix to make a colony with a specific shape. That the light matrix can affect the motility of bacteria is by influencing the expression of a protein related with motility and this protein is chez in this project. There are two forms of bacterial motility: tumbling and swimming. By tumbling, bacteria can change its swimming direction but not position. But by swimming, bacteria will forward to change its position. In fact, the rate of tumbling and swimming is different from bacteria to bacteria. At the micro level, the angle of tumbling is random, so we have no idea the movement direction of bacteria in any time. But in the view of macroscopic, the probability of all directions are equal. This property is similar to the diffusion of chemical. So, the swimming of bacteria can be seen as the diffusion of bacteria and the rate of diffusion is related to expression of chez.</p>
             <p>Data detection on TCS: Boyao Zhang, Jun Li</p>
+
            <p>Due to the multiply of bacteria makes little difference to the diffusion, so we don’t consider the multiply of bacteria provisionally.</p>
 +
            <img src="https://static.igem.org/mediawiki/2016/5/57/T--HZAU-China--model-figure1.jpg" />
 +
            <p style="text-align:center">(Figure1. Simple graph about diffusion of bacteria.)</p>
 +
            <p>In Figure 1, the simple square represent the area of bacterial in coordinate \((x,y)\) approximatively. The number of bacteria in this area is \(S(x,y,t)\) at time t. So, we have:</p>
 +
             <p style="text-align:center">\(S(x,y,t)=\rho(x,y,t)*\Delta x\Delta y\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((1)\)</p>
 +
            <p>In equation \((1)\), \(\rho(x,y,t)\) represent density of bacteria in that area. \(\Delta x\) and \(\Delta y\) are the smallest increment in the \(x\) and \(y\) axis respectively. After taken the derivative of equation (1), we have:</p>
 +
            <p style="text-align:center">\(\frac {\partial S(x,y,t)}{\partial t}=\frac {\partial\rho(x,y,t)*\Delta x\Delta y}{\partial t}\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((2)\)</p>
 +
            <p>The left part of equation \((2)\) represent the change rate of \(S(x,y,t)\). Under the premise of ignore the multiply of bacteria, the change rate depends on the rate of diffusion of bacteria. As shown in Figure 1, bacteria can move along the \(x\) axis and \(y\) axis. Limit that along the \(x\) and \(y\) axis is the positive. So:</p>
 +
            <p style="text-align:center">\(\frac {\partial\rho (x,y,t)\Delta x\Delta y}{\partial t}=\phi_x(x,y,t)\Delta y- \phi_x(x+\Delta x,y,t)\Delta y+\phi_y(x,y,t)\Delta x-\phi_y(x,y+\Delta y,t)\Delta x\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((3)\)</p>
 +
            <p>In equation \((3)\), \(\phi_x\) and \(\phi_y\) represent the diffusion of bacteria in \(x\) and \(y\) axis respectively. Dividing \(\Delta x*\Delta y\) on both sides of equation \((3)\), and we can get:</p>
 +
            <p style="text-align:center">\(\frac {\partial\rho(x,y,t)}{\partial t}=\frac {\phi_x(x,y,t)-\phi_x(x+\Delta x,y,t)}{\Delta x}+\frac {\phi_y(x,y,t)-\phi_y(x,y+\Delta y,t)}{\Delta y}\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((4)\)</p>
 +
            <p>In fact, equation \((4)\) is not a strict equation because \(\Delta x\) and \(\Delta y\) are not minimum value. But if let \(\Delta x\) and \(\Delta y\) take a limit to 0, equation \((4)\) will be an equation. So we have:</p>
 +
            <p style="text-align:center">\(\frac {\partial\rho(x,y,t)}{\partial t}=\lim_{\Delta x\rightarrow 0}\frac {\phi_x(x,y,t)-\phi_x(x+\Delta x,y,t)}{\Delta x}+\lim_{\Delta x\rightarrow 0}\frac {\phi_y(x,y,t)-\phi_y(x,y+\Delta y,t)}{\Delta y}\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((5)\)</p>
 +
            <p>This equation is equivalent to:</p>
 +
            <p style="text-align:center">\(\frac{\partial \rho}{\partial t}=-(\frac{\partial\phi_x}{\partial x}+\frac{\partial\phi_y}{\partial y})\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((6)\)</p>
 +
            <p>Here, we omit the coordinates. In this equation, \(\phi_x\) and \(\phi_y\) is difficult to be known by us. In fact, the rate of diffusion in \(x\) and \(y\) axis is same. From the assumption of Fourier Heat Equation:</p>
 +
            <p>1.&nbsp;If the temperature is constant within an area, there is no flow of heart.</p>
 +
            <p>2.&nbsp;If the temperature difference exists in adjacent area, heart will flow from areas high to low.</p>
 +
            <p>3.&nbsp;For the same kind of material, the bigger the temperature difference of two adjacent area, the faster flow between them.</p>
 +
            <p>Similarly, the three characters are suitable in bacteria colony:</p>
 +
            <p>1.&nbsp;If the density of bacteria is constant in an area, the move of bacteria will not lead to the change of density.</p>
 +
            <p>2.&nbsp;If the density difference exists in adjacent area, bacteria will swim from high density to low density area on the macro.</p>
 +
            <p>3.&nbsp;The bigger the density of two adjacent area, the faster diffusion between them.</p>
 +
            <p>So, the rate of diffusion is related with the difference of density:</p>
 +
            <p style="text-align:center">\(\phi_x = -k\frac{\partial\rho}{\partial x}\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((7)\)</p>
 +
            <p style="text-align:center">\(\phi_y = -k\frac{\partial\rho}{\partial y}\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((8)\)</p>
 +
            <p>Combining equation\((7)\) and equation\((8)\) with equation\((6)\), we can get:</p>
 +
            <p style="text-align:center">\(\frac{\partial\rho}{\partial t} = k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((9)\)</p>
 +
            <h3>Multiply model</h3>
 +
            <p>There is a famous model about the growth states of bacteria under the condition of limited space and nutrients called logistic growth model:</p>
 +
            <p style="text-align:center">\(\frac{d\rho}{dt} = \gamma\rho(1-\frac{\rho}{\rho_s})\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((10)\)</p>
 +
            <p>In equation \((10)\), \(\rho\) represent the density of bacteria, and \(\gamma\) is growth rate constant, and \(\rho_s\) is saturated density.</p>
 +
            <h3>Multiply and motility dynamic model of bacterial</h3>
 +
            <p>Combining equation \((9)\) with equation \((10)\), we have:</p>
 +
            <p style="text-align:center">\(\frac{\partial\rho}{\partial t}=k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})+\gamma\rho(1-\frac{\rho}{\rho_s})\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((11)\)</p>
 +
            <p>Reference Chenli liu et al, we have several parameter values,</p>
 +
            <p style="text-align:center">$$k=200~1000\mu m^2/s$$ $$\gamma = 3.89e-4s^{-1}$$ $$\rho_s = 1500cell/\mu m^2$$</p>
 +
            <p>We will use finite element method to solve this PDE. Defining initial conditions are,</p>
 +
            <p style="text-align:center">$$\rho=matrix.zeros(200,200)$$ $$\rho[100,100]=100$$</p>
 +
            <p>\(matrix.zeros(200, 200)\) means a zero matrix with \(200*200\), and the value of the index \([100, 100]\) of this matrix is \(100\). And the boundary conditions are,</p>
 +
            <p style="text-align:center">$$\rho[0:,]=0$$ $$\rho[100:,0]=0$$ $$\rho[0,0:]=0$$ $$\rho[0,100:]=0$$</p>
 +
            <p>Writhing solve program with python and numpy to solve equation \((11)\), and the result was showed by mayavi, then we can get a video that can be seen in Movie1.</p>
  
             <div class="random"><a id="A12" ></a></div>
+
             <video src="https://static.igem.org/mediawiki/2016/e/e2/T--HZAU-China--model-movie1.mp4" controls="controls"></video>
            <h4>Motility</h4>
+
             <p style="text-align:center">(Movie1)</p>
             <p>Clone and construction of motility-relative circuit: Zewen Ding, Wen Wang, Wenqi Huang, Wentao Yu</p>
+
            <p>Figure collection of motility: Zewen Ding, Wenqi Huang, Wen Wang</p>
+
            <p>Design of trial and measurement: Wenqi Huang, Zewen Ding, Wen Wang</p>
+
            <p>Photograph gathering: Wenqi Huang, Zhujun Xia, Qiqi Xiong, Zewen Ding, Wen Wang</p>
+
  
             <div class="random"><a id="A13" ></a></div>
+
             <h3>Multiply and motility dynamic model under the condition of restricted area</h3>
             <h4>Riboswitch</h4>
+
            <p>In Movie1, we can see that colony will be a roundness eventually. If we add a restrictive condition about the area that bacteria can move, then what the colony will become? The way to add area limit is using light to control the motility of bacterias. So we will give green light in a specific area and the remainder will be given red light. And bacterias can move only in this green light area. In equation (11), Bacterial motility is mirrored by parameter k. So the model will be the following equations.</p>
             <p>Clone and construction of riboswitch circuit: Pan Chu, Boyao Zhang, Luyao Zhang, Anqi Zhou, Wenqi Huang</p>
+
             <p style="text-align:center">\(\frac{\partial\rho}{\partial t}=k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})+\gamma\rho(1-\frac{\rho}{\rho_s})\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((11)\)</p>
             <p>Quantitative data collection: Pan Chu, Anqi Zhou, Luyao Zhang</p>
+
             <p style="text-align:center">\(k=f(x,y)\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((12)\)</p>
 +
             <p>\(k\) in equation \((11)\) means the diffusion rate of colony. \(f(x,y)\) is area limit function, and it’s an image matrix. In this project, we choose Pikachu who is a famous role in a hot AR game Pokimon Go. See this picture in Figure2.</p>
  
             <div class="random"><a id="A14" ></a></div>
+
             <img src="https://static.igem.org/mediawiki/2016/c/c7/T--HZAU-China--model-pikaqiu.jpg"/>
             <h4 id="A14">Gene knockout</h4>
+
            <p style="text-align:center">(Figure2)</p>
             <p>Gene knockout: Boyao Zhang</p>
+
            <p>The black part in Figure2 means that the parameter \(k\) is normal value. That is \(k=k_normal=200~1000\mu m^2/s\). And the white part in Figure2 means that the parameter \(k\) is a small value which will be set to \(0\). But \(k\) is a matrix in equation \((11)\), and it can be solved out using Figure2. </p>
 +
             <p style="text-align:center">$$k = img*k_normal/255$$</p>
 +
             <p>Under the aforementioned initial conditions and boundary conditions, using python program to solve these equations.</p>
  
 +
            <video src="https://static.igem.org/mediawiki/2016/a/a2/T--HZAU-China--model-movie2.mp4" controls="controls"></video>
 +
            <p style="text-align:center">(Movie2)</p>
 +
            <p>From Movie2 we can see that a specific pattern is basically formed. But such a pattern formation is just equivalent to using mould. In this project, the pattern formation will be adjusted by computer in real time.</p>
  
             <div class="random"><a id="A2" ></a></div>
+
             <h3>Multiply and motility dynamic model with dynamic regulation</h3>
             <h3> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dry lab</h3>
+
            <p>Area limit is static regulation, but dynamic regulation is more suitable in our expectation. In dynamic regulation, we will compare the shape of colony with target picture in real time, and the result of comparing will be converted to light matrix to be irradiate on colony. So, the dynamic model will like the following context.</p>
 
+
             <p style="text-align:center">\(\frac{\partial\rho}{\partial t}=k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})+\gamma\rho(1-\frac{\rho}{\rho_s})\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((11)\)</p>
            <div class="random"><a id="A21" ></a></div>
+
             <p style="text-align:center">\(k=f(t,\rho,img)\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((13)\)</p>
            <h4 >models</h4>
+
             <p>Unlike equation\((12)\), there are two additional parameters in equation\((13)\). The two additional parameters are time \(t\) and density \(\rho\) respectively. That means parameter \(k\) will be change in the process of adjustment. And equation\((13)\) can be interpreted as,</p>
            <p>Modeling on motility dynamics: Kangjian Hua</p>
+
             <p style="text-align:center">\(\rho_1=\rho*\frac{255}{max(\rho)}\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((14)\)</p>
             <p>Modeling on motility cellular model: Bochen Cheng</p>
+
             <p style="text-align:center">\(\rho_2=threshold(\rho_1,THRES_BINARY_INV)\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\((15)\)</p>
            <p>Modeling on genetic circuits: Bochen Cheng</p>
+
             <p style="text-
 
+
            <div class="random"><a id="A22" ></a></div>
+
            <h4 id="A22">Software</h4>
+
            <p>Software design: Kangjian Hua, Bochen Cheng</p>
+
            <p>Design on video: Kangjian Hua</p>
+
 
+
            <div class="random"><a id="A23" ></a></div>
+
            <h4 >Hardware</h4>
+
            <p>Design: Zhihao Li, Yang Bai</p>
+
            <p>Manufacture and welding of PCB: Zhihao Li</p>
+
            <p>Download of SCM: Zhihao Li</p>
+
            <p>Construction of light-switchable device: Zhihao Li, Jun Li, Kangjian Hua</p>
+
            <p>Programming: Yang Bai</p>
+
 
+
 
+
            <div class="random"><a id="A3" ></a></div>
+
            <h3> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Human Practice</h3><br/>
+
             <p>Collaboration and communication with other teams: Xinran Zhao, Haimeng Li</p>
+
             <p>Handbook manufacture: all iGEM members</p>
+
 
+
 
+
            <div class="random"><a id="A4" ></a></div>
+
            <h3> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wiki Construction</h3>
+
            <p>Wiki creating: Jing Xiao, Weitong Zhang, Boyao Zhang, Xinran Zhao</p>
+
             <p>Art Designer:Kening Chen, Tengteng Wang, Ruoqing Chen</p>
+
 
+
 
+
            <div class="random"><a id="A5" ></a></div>
+
            <h3> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Acknowledgement:</h3>
+
            <p>We would like to thank State Key Laboratory of Agricultural Microbiology, College of Life Science
+
                and Technology, Huazhong Agricultural University, for providing material related to riboswitch.
+
                Thanks to Professor Youming Zhang and Ph.D Ruijuan Li in his lab for offering great instruction
+
                on gene knockout technology. Thanks for the help of College of Life Science and Technology and
+
                College of Information in Huazhong Agricultural University. We really appreciate your support.
+
             </p>
+
 
+
        </div>
+
 
+
    </div>
+
</div>
+
 
+
</body>
+
</html>
+

Revision as of 14:01, 17 October 2016

body

Model


The density distributions of bacteria in culture medium depends on two factors: motility and multiply of bacteria. For convenience, we will discuss these two factors separately.

motility dynamic model

In this project, we are trying to control the motility of bacteria by control the light matrix to make a colony with a specific shape. That the light matrix can affect the motility of bacteria is by influencing the expression of a protein related with motility and this protein is chez in this project. There are two forms of bacterial motility: tumbling and swimming. By tumbling, bacteria can change its swimming direction but not position. But by swimming, bacteria will forward to change its position. In fact, the rate of tumbling and swimming is different from bacteria to bacteria. At the micro level, the angle of tumbling is random, so we have no idea the movement direction of bacteria in any time. But in the view of macroscopic, the probability of all directions are equal. This property is similar to the diffusion of chemical. So, the swimming of bacteria can be seen as the diffusion of bacteria and the rate of diffusion is related to expression of chez.

Due to the multiply of bacteria makes little difference to the diffusion, so we don’t consider the multiply of bacteria provisionally.

(Figure1. Simple graph about diffusion of bacteria.)

In Figure 1, the simple square represent the area of bacterial in coordinate \((x,y)\) approximatively. The number of bacteria in this area is \(S(x,y,t)\) at time t. So, we have:

\(S(x,y,t)=\rho(x,y,t)*\Delta x\Delta y\)      \((1)\)

In equation \((1)\), \(\rho(x,y,t)\) represent density of bacteria in that area. \(\Delta x\) and \(\Delta y\) are the smallest increment in the \(x\) and \(y\) axis respectively. After taken the derivative of equation (1), we have:

\(\frac {\partial S(x,y,t)}{\partial t}=\frac {\partial\rho(x,y,t)*\Delta x\Delta y}{\partial t}\)      \((2)\)

The left part of equation \((2)\) represent the change rate of \(S(x,y,t)\). Under the premise of ignore the multiply of bacteria, the change rate depends on the rate of diffusion of bacteria. As shown in Figure 1, bacteria can move along the \(x\) axis and \(y\) axis. Limit that along the \(x\) and \(y\) axis is the positive. So:

\(\frac {\partial\rho (x,y,t)\Delta x\Delta y}{\partial t}=\phi_x(x,y,t)\Delta y- \phi_x(x+\Delta x,y,t)\Delta y+\phi_y(x,y,t)\Delta x-\phi_y(x,y+\Delta y,t)\Delta x\)      \((3)\)

In equation \((3)\), \(\phi_x\) and \(\phi_y\) represent the diffusion of bacteria in \(x\) and \(y\) axis respectively. Dividing \(\Delta x*\Delta y\) on both sides of equation \((3)\), and we can get:

\(\frac {\partial\rho(x,y,t)}{\partial t}=\frac {\phi_x(x,y,t)-\phi_x(x+\Delta x,y,t)}{\Delta x}+\frac {\phi_y(x,y,t)-\phi_y(x,y+\Delta y,t)}{\Delta y}\)      \((4)\)

In fact, equation \((4)\) is not a strict equation because \(\Delta x\) and \(\Delta y\) are not minimum value. But if let \(\Delta x\) and \(\Delta y\) take a limit to 0, equation \((4)\) will be an equation. So we have:

\(\frac {\partial\rho(x,y,t)}{\partial t}=\lim_{\Delta x\rightarrow 0}\frac {\phi_x(x,y,t)-\phi_x(x+\Delta x,y,t)}{\Delta x}+\lim_{\Delta x\rightarrow 0}\frac {\phi_y(x,y,t)-\phi_y(x,y+\Delta y,t)}{\Delta y}\)      \((5)\)

This equation is equivalent to:

\(\frac{\partial \rho}{\partial t}=-(\frac{\partial\phi_x}{\partial x}+\frac{\partial\phi_y}{\partial y})\)      \((6)\)

Here, we omit the coordinates. In this equation, \(\phi_x\) and \(\phi_y\) is difficult to be known by us. In fact, the rate of diffusion in \(x\) and \(y\) axis is same. From the assumption of Fourier Heat Equation:

1. If the temperature is constant within an area, there is no flow of heart.

2. If the temperature difference exists in adjacent area, heart will flow from areas high to low.

3. For the same kind of material, the bigger the temperature difference of two adjacent area, the faster flow between them.

Similarly, the three characters are suitable in bacteria colony:

1. If the density of bacteria is constant in an area, the move of bacteria will not lead to the change of density.

2. If the density difference exists in adjacent area, bacteria will swim from high density to low density area on the macro.

3. The bigger the density of two adjacent area, the faster diffusion between them.

So, the rate of diffusion is related with the difference of density:

\(\phi_x = -k\frac{\partial\rho}{\partial x}\)      \((7)\)

\(\phi_y = -k\frac{\partial\rho}{\partial y}\)      \((8)\)

Combining equation\((7)\) and equation\((8)\) with equation\((6)\), we can get:

\(\frac{\partial\rho}{\partial t} = k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})\)      \((9)\)

Multiply model

There is a famous model about the growth states of bacteria under the condition of limited space and nutrients called logistic growth model:

\(\frac{d\rho}{dt} = \gamma\rho(1-\frac{\rho}{\rho_s})\)      \((10)\)

In equation \((10)\), \(\rho\) represent the density of bacteria, and \(\gamma\) is growth rate constant, and \(\rho_s\) is saturated density.

Multiply and motility dynamic model of bacterial

Combining equation \((9)\) with equation \((10)\), we have:

\(\frac{\partial\rho}{\partial t}=k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})+\gamma\rho(1-\frac{\rho}{\rho_s})\)      \((11)\)

Reference Chenli liu et al, we have several parameter values,

$$k=200~1000\mu m^2/s$$ $$\gamma = 3.89e-4s^{-1}$$ $$\rho_s = 1500cell/\mu m^2$$

We will use finite element method to solve this PDE. Defining initial conditions are,

$$\rho=matrix.zeros(200,200)$$ $$\rho[100,100]=100$$

\(matrix.zeros(200, 200)\) means a zero matrix with \(200*200\), and the value of the index \([100, 100]\) of this matrix is \(100\). And the boundary conditions are,

$$\rho[0:,]=0$$ $$\rho[100:,0]=0$$ $$\rho[0,0:]=0$$ $$\rho[0,100:]=0$$

Writhing solve program with python and numpy to solve equation \((11)\), and the result was showed by mayavi, then we can get a video that can be seen in Movie1.

(Movie1)

Multiply and motility dynamic model under the condition of restricted area

In Movie1, we can see that colony will be a roundness eventually. If we add a restrictive condition about the area that bacteria can move, then what the colony will become? The way to add area limit is using light to control the motility of bacterias. So we will give green light in a specific area and the remainder will be given red light. And bacterias can move only in this green light area. In equation (11), Bacterial motility is mirrored by parameter k. So the model will be the following equations.

\(\frac{\partial\rho}{\partial t}=k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})+\gamma\rho(1-\frac{\rho}{\rho_s})\)      \((11)\)

\(k=f(x,y)\)      \((12)\)

\(k\) in equation \((11)\) means the diffusion rate of colony. \(f(x,y)\) is area limit function, and it’s an image matrix. In this project, we choose Pikachu who is a famous role in a hot AR game Pokimon Go. See this picture in Figure2.

(Figure2)

The black part in Figure2 means that the parameter \(k\) is normal value. That is \(k=k_normal=200~1000\mu m^2/s\). And the white part in Figure2 means that the parameter \(k\) is a small value which will be set to \(0\). But \(k\) is a matrix in equation \((11)\), and it can be solved out using Figure2.

$$k = img*k_normal/255$$

Under the aforementioned initial conditions and boundary conditions, using python program to solve these equations.

(Movie2)

From Movie2 we can see that a specific pattern is basically formed. But such a pattern formation is just equivalent to using mould. In this project, the pattern formation will be adjusted by computer in real time.

Multiply and motility dynamic model with dynamic regulation

Area limit is static regulation, but dynamic regulation is more suitable in our expectation. In dynamic regulation, we will compare the shape of colony with target picture in real time, and the result of comparing will be converted to light matrix to be irradiate on colony. So, the dynamic model will like the following context.

\(\frac{\partial\rho}{\partial t}=k(\frac{\partial^2\rho}{\partial x^2}+\frac{\partial^2\rho}{\partial y^2})+\gamma\rho(1-\frac{\rho}{\rho_s})\)      \((11)\)

\(k=f(t,\rho,img)\)      \((13)\)

Unlike equation\((12)\), there are two additional parameters in equation\((13)\). The two additional parameters are time \(t\) and density \(\rho\) respectively. That means parameter \(k\) will be change in the process of adjustment. And equation\((13)\) can be interpreted as,

\(\rho_1=\rho*\frac{255}{max(\rho)}\)      \((14)\)

\(\rho_2=threshold(\rho_1,THRES_BINARY_INV)\)      \((15)\)