Team:LCG-UNAM-Mexico:CA
From 2009.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
[[Image:Example.jpg]] | [[Image:Example.jpg]] | ||
+ | |||
+ | ==Design== | ||
+ | <br> | ||
+ | Design and Implementation<br> | ||
+ | We will use the word cell for the elements of the grid in the automaton and the word bacterium for E coli.<br> | ||
+ | The state of the cells in the CA is an array of integers representing different parameters.<br><br> | ||
+ | |||
+ | '''CA[i,j] =[s, d, l, r, i, lt, bs, np]''' | ||
+ | |||
+ | **s = 1 if there is a bacteria in this cell 0 otherwise. | ||
+ | **d = direction [1, 2, ... 8] (random variable) | ||
+ | **l = persistence time REFERENCE | ||
+ | **r = time until duplication (random variable) | ||
+ | **i = infection state. 1 if infected 0 otherwise. | ||
+ | **lt = time until lysis (random variable). | ||
+ | **bs = Burst Size, amount of phages an infected bacteria will produce (random variable) | ||
+ | **np= number of phages. | ||
+ | <br><br> | ||
+ | We sample indexes of the rows and columns in the grid at random and then we iterate in that order, thus we have a random sampling without replacement that require only 2n random numbers instead of <math>n\square</math>. <br><br> | ||
+ | For each cell we verify if it has a bacterium, if so:<br> | ||
+ | Check if it should duplicate, change direction or move. We also have phages in the grid so we need to check for infections on each iteration: if there are phages in a cell occupied by a bacterium this will become infected with some fixed probability. An infected cell will produce new phages, this number is sampled from the Burst Size Distribution generated by the Stochastic Kinetic Simulations.<br><br> | ||
+ | |||
Revision as of 04:58, 16 October 2009