Difference between revisions of "Team:Paris Bettencourt/Software"
m |
|||
Line 6: | Line 6: | ||
<h3>Introduction</h3> | <h3>Introduction</h3> | ||
− | As explained in the <a href="https://2015.igem.org/Team:Paris_Bettencourt/Modeling" title="Modeling wiki page" >modeling page</a>, this program | + | As explained in the <a href="https://2015.igem.org/Team:Paris_Bettencourt/Modeling" title="Modeling wiki page" >modeling page</a>, this program modelizes the cells population evolution with mother cell differentiation and cell division. |
<br /> | <br /> | ||
We focus here on the stochastic program. | We focus here on the stochastic program. | ||
− | |||
<h3>Files</h3> | <h3>Files</h3> | ||
Line 17: | Line 16: | ||
<h4>Stochastic algorithm</h4> | <h4>Stochastic algorithm</h4> | ||
<ul> | <ul> | ||
− | <li>\(timeEvolutionStochastic\) : | + | <li>\(timeEvolutionStochastic\) : calcul the time evolution.</li> |
<li>\(checkInput\) : check the input and show an error message if the input is not good.</li> | <li>\(checkInput\) : check the input and show an error message if the input is not good.</li> | ||
<li>\(elmPixel\) : find the coordinates of a pixel around an other pixel.</li> | <li>\(elmPixel\) : find the coordinates of a pixel around an other pixel.</li> | ||
Line 25: | Line 24: | ||
<li>\(getSizeMat\) : find the matrice size.</li> | <li>\(getSizeMat\) : find the matrice size.</li> | ||
<li>\(imageToMatrix\) : convert an image into a matrix.</li> | <li>\(imageToMatrix\) : convert an image into a matrix.</li> | ||
− | <li>\(initCells\) : | + | <li>\(initCells\) : initialize the cells.</li> |
− | <li>\(initialization\) : | + | <li>\(initialization\) : initialize the program.</li> |
<li>\(initTimeEvent\) : calcul the different time.</li> | <li>\(initTimeEvent\) : calcul the different time.</li> | ||
− | <li>\(initVariables\) : variables | + | <li>\(initVariables\) : initialize the variables.</li> |
<li>\(isBinary\) : check if a number is 0 or 1.</li> | <li>\(isBinary\) : check if a number is 0 or 1.</li> | ||
<li>\(isPositiveInteger\) : check if a number is a positive integer (1) or not (0).</li> | <li>\(isPositiveInteger\) : check if a number is a positive integer (1) or not (0).</li> | ||
Line 40: | Line 39: | ||
<li>\(writeParameters\) : write a text file with the parameters.</li> | <li>\(writeParameters\) : write a text file with the parameters.</li> | ||
<li>\(launchStochasticProgramm\) : launch the stochastic time evoluation simulation.</li> | <li>\(launchStochasticProgramm\) : launch the stochastic time evoluation simulation.</li> | ||
− | <li>\(k1OptimizationStochastic\) : calcul the number of differentiated cells and vitamin with differents | + | <li>\(k1OptimizationStochastic\) : calcul the number of differentiated cells and vitamin with differents \(k_{1}\) in a stochastic way.</li> |
<li>\(k1OptimizationStochasticAndDeterministic\) : superimpose the deterministic and stochastic models.</li> | <li>\(k1OptimizationStochasticAndDeterministic\) : superimpose the deterministic and stochastic models.</li> | ||
</ul> | </ul> | ||
Line 46: | Line 45: | ||
<ul> | <ul> | ||
<li>\(timeEvolutionDeterministic\) : show the time evolution by numerical calculus and equations.</li> | <li>\(timeEvolutionDeterministic\) : show the time evolution by numerical calculus and equations.</li> | ||
− | <li>\(k1OptimizationDeterministic\) : calcul the number of differentiated cells with differents | + | <li>\(k1OptimizationDeterministic\) : calcul the number of differentiated cells with differents \(k_{1}\) in a deterministic way.</li> |
</ul> | </ul> | ||
<h3>Input</h3> | <h3>Input</h3> | ||
In order to launch a simulation, you must define five variables. | In order to launch a simulation, you must define five variables. | ||
<ul> | <ul> | ||
− | <li>cells.</li> | + | <li>initial cells.</li> |
<li>rate constants.</li> | <li>rate constants.</li> | ||
<li>fermentation period.</li> | <li>fermentation period.</li> | ||
Line 58: | Line 57: | ||
</ul> | </ul> | ||
<h4>Cells input</h4> | <h4>Cells input</h4> | ||
− | You can choose | + | You can choose to generate a random or a predetermined position for the initial cells. |
<br /> | <br /> | ||
You have two cells types : mother cells and differentiated cells. | You have two cells types : mother cells and differentiated cells. | ||
Line 157: | Line 156: | ||
<ul> | <ul> | ||
<li>\(createFolder\) : create a folder in the disk to save informations.</li> | <li>\(createFolder\) : create a folder in the disk to save informations.</li> | ||
− | <li>\(showAnimation\) : show the | + | <li>\(showAnimation\) : show the cell population animation. Warning : require a lot of computing power.</li> |
<li>\(plotGraph\) : plot the results in graphs.</li> | <li>\(plotGraph\) : plot the results in graphs.</li> | ||
</ul> | </ul> | ||
Line 194: | Line 193: | ||
<h4>Folder name</h4> | <h4>Folder name</h4> | ||
− | The \(folderName\) variable is a string containing the folder where results folder are | + | The \(folderName\) variable is a string containing the folder name where results folder are stored in the disk. |
<br /> | <br /> | ||
You can use \(folderName =\) '\(Results\)' for example. | You can use \(folderName =\) '\(Results\)' for example. | ||
Line 235: | Line 234: | ||
<li>\(counterEvent\) : event counter.</li> | <li>\(counterEvent\) : event counter.</li> | ||
<li>\(timerShow\) : time animation counter.</li> | <li>\(timerShow\) : time animation counter.</li> | ||
− | <li>\(sizeMat\) : real box size (in pixels).</li> <li>\(nextEvent\) : .</li> | + | <li>\(sizeMat\) : real box size (in pixels).</li> |
+ | <li>\(nextEvent\) : next event type.</li> | ||
<li>\(time1Array\) : time distribution array 1 (see the \(initTimeEvent\) function).</li> | <li>\(time1Array\) : time distribution array 1 (see the \(initTimeEvent\) function).</li> | ||
<li>\(time2Array\) : time distribution array 2 (see the \(initTimeEvent\) function).</li> | <li>\(time2Array\) : time distribution array 2 (see the \(initTimeEvent\) function).</li> | ||
Line 257: | Line 257: | ||
</ul> | </ul> | ||
<h4>Folder creation</h4> | <h4>Folder creation</h4> | ||
− | If the \(action\) variable \(createFolder\) is set, the program will save important results | + | If the \(action\) variable \(createFolder\) is set, the program will save important results in this folder. |
<br /> | <br /> | ||
<ul> | <ul> | ||
− | <li>\(parameters.txt\) : text file containing differents simulation parameters and results</li> | + | <li>\(parameters.txt\) : text file containing differents simulation parameters and results.</li> |
− | <li>\(data.mat\) : MATLAB file containing | + | <li>\(data.mat\) : MATLAB file containing the raw data structure. To load the file, use this formula : \(load('data.mat')\).</li> |
</ul> | </ul> | ||
Line 319: | Line 319: | ||
<h3>Conclusion</h3> | <h3>Conclusion</h3> | ||
− | Feel free to use and modify this program. The source code is available in <a href="https://github.com/iGEMParisBettencourt2015/modeling" | + | Feel free to use and modify this program. The source code is available in <a href="https://github.com/iGEMParisBettencourt2015/modeling" title="Source code in GitHub"> GitHub : iGEM Paris Bettencourt 2015</a> under the <a href="http://www.gnu.org/licenses/gpl.txt" alt="GNU General Public License" >GNU General Public License version 3.0</a>. |
For more informations concerning the model see the <a href="https://2015.igem.org/Team:Paris_Bettencourt/Modeling" title="Modeling wiki page" >modeling page</a>. | For more informations concerning the model see the <a href="https://2015.igem.org/Team:Paris_Bettencourt/Modeling" title="Modeling wiki page" >modeling page</a>. | ||
</html> | </html> | ||
{{Paris_Bettencourt/footer}} | {{Paris_Bettencourt/footer}} |
Revision as of 22:07, 12 September 2015