Difference between revisions of "Team:Bordeaux/Software"

Line 3: Line 3:
 
<html>
 
<html>
  
<script src="http://savandara.besse.emi.u-bordeaux.fr/Wiki/jquery-1.12.3.min.js"></script>
+
<script src="http://savandara.besse.emi.u-bordeaux.fr/Wiki/jquery-1.12.3.min.js"></script>
<script src="http://savandara.besse.emi.u-bordeaux.fr/Wiki/alphabet.js"></script>
+
<script src="http://savandara.besse.emi.u-bordeaux.fr/Wiki/alphabet.js"></script>
  
<section class="title_toc">
+
    <section class="title_toc">
  
                <div class="content_wrapper">
+
        <div class="content_wrapper">
<canvas id="myCanvas"></canvas>
+
  <canvas id="myCanvas"></canvas>
                <script src="http://savandara.besse.emi.u-bordeaux.fr/Wiki/bubbles.js"></script>
+
            <script src="http://savandara.besse.emi.u-bordeaux.fr/Wiki/bubbles.js"></script>
  
<script>
+
  <script>
  
var myName = "Software";
+
    var myName = "Software";
  
var red = [0, 100, 63];
+
    var red = [0, 100, 63];
var orange = [40, 100, 60];
+
    var orange = [40, 100, 60];
var green = [75, 100, 40];
+
    var green = [75, 100, 40];
var mint_green = [139, 44, 42];
+
    var mint_green = [139, 44, 42];
var bioo_blue = [201, 79, 70];
+
    var bioo_blue = [201, 79, 70];
var foo_blue = [196,71,35];
+
    var foo_blue = [196,71,35];
var blue = [196, 77, 55];
+
    var blue = [196, 77, 55];
var purple = [280, 50, 60];
+
    var purple = [280, 50, 60];
  
var letterColors = [bioo_blue,mint_green,foo_blue];
+
    var letterColors = [bioo_blue,mint_green,foo_blue];
  
drawName(myName, letterColors);
+
    drawName(myName, letterColors);
  
bubbleShape = 'circle';
+
    bubbleShape = 'circle';
  
bounceBubbles();
+
    bounceBubbles();
  
</script>
+
  </script>
</div>
+
</section>
+
  <img style="display:block;
+
            margin-left: auto;
+
            margin-right: auto;
+
            width:40%;
+
            height:auto; float:right"
+
            src="https://static.igem.org/mediawiki/2016/c/c0/T--Bordeaux--ModelCollabToulouse.png"
+
            title="Thanks to iGEM Toulouse for creating this picture with Blender">  
+
  
<section id="text">
+
        </div>
<div class="content_wrapper">
+
    </section>
<div class="column full_size">
+
   
<!--- TEXTE ICI -->
+
    <section id="text">
</div>
+
        <div class="content_wrapper">
</div>
+
            <div class="column full_size">
</section>
+
               
 +
                <img style="display:block;
 +
                margin-left: auto;
 +
                margin-right: auto;
 +
                width:40%;
 +
                height:auto; float:right"
 +
                src="https://static.igem.org/mediawiki/2016/c/c0/T--Bordeaux--ModelCollabToulouse.png"
 +
                title="Thanks to iGEM Toulouse for creating this picture on Blender">  
 +
           
 +
 
 +
            <h3>Overview</h3>
 +
            <p>As iGEMers we are responsible of using <b>safe practices<b> during our lab work in order to reduce the risks linked to harmful substances or organisms. A big number of iGEM teams use engineered E. coli or other bacteria in their projects and their release in the environment is a risk that should be prevented. However, there are always limits to prevention and the use of a tool to predict the risk of an eventual release of bacteria in the laboratory could help reinforce the biosafety in an alternative way. This is why we created a <b>software</b> that can allow users to <b>simulate the growth of transformed bacteria<b> for a given set of parameters defined by the user. The user can input an initial number of bacteria that would be released on a surface, the percentage that are transformed, parameters linked to the are of the simulated surface and parameters linked to plasmid loss and plasmid transfer.</b>
 +
            <p> </p>
 +
 
 +
 
 +
            <h3>The simulation</h3>
 +
 
 +
            <p>Our tool runs an agent-based simulation. The agents are bacteria which can be transformed or not and the environment is a grid of squares that represent each 1µm² of a solid surface. Each square can contain one bacterial cell diractly in contact with the surface or piled up on another bacterium in contact with the surface. The piling up is limited by the user. A certain concentration of an energy source for the bacteria can be present on the grid. Time is concrete so bacteria repeat a schedule of actions at each time step. These actions are consuming nutrients, metabolizing them, dividing or dying if certain conditions are met.</p>
 +
            <p>To simulate the growth of bacteria we used two different approaches that are explaind in the section <a href="https://2016.igem.org/Team:Bordeaux/Model"model</a>. In this section we will concentrate on the parameters that the user can define and how that can change the result they obtain. </p>
 +
 
 +
            <h3>The user interface</h3>
 +
            We opted for a simple user interface (figure 1) in <b>gtkmm</b> as the language we used for the simulation is C++. It was one of our principal goals to make an interface so that non-programmers could run our application without problems.
 +
            <figure>
 +
            <img style="
 +
                margin-left: auto;
 +
                margin-right: auto;
 +
                width:60%;
 +
                height:auto;"
 +
                src="https://static.igem.org/mediawiki/2016/2/29/T--Bordeaux--user_interface.png"
 +
                title="user interface">
 +
                <figcaption>The interface where users can define parameters</figcaption>
 +
            </figure>
 +
 
 +
            The parameters the user can define are linked to experimental conditions but also to the mechanics of the simulation itself. These parameters are explained below.
 +
            <ul>
 +
            <il>The simulation time is the real life time that will be simulated</il>
 +
            <il>The simulation step is the interval of time at which the system will be updated. It can be changed if users find it necessary to add more precision or make the simulation faster. </il>
 +
            <il>The initial number of bacteria is the total number of transformed (donors) and not transformed (recipient) bacteria.</il>
 +
            <il>The percentage of donor bacteria is the number of bacteria possessing a plasmid and can conjugate with other bacteria.</il>
 +
            <il>The height and length of the grid (the simulation environment) are the number of squares that occupy the grid's height and length. By default it is 1000x1000 but in case of a very large number of bacteria it can be extented.</il>
 +
            <il>The conjugation rate is the probability by which a donor will give a copy of its plasmid to a bacterium close to it (in the distance of one square</il>
 +
            <il>The segregation loss is the probability that a donor cell will not pass its plasmid to its daughter cell during division</il>
 +
            <il>The plasmid cost id the probability of death of a transformed bacterium because of the absence of selection pressure. By default it's 0 but it could be bigger in case, for example, of a bacterium with an antibiotic-resistance plasmid in an antibiotic-free environment.</il>
 +
            </ul>
 +
 
 +
 
 +
 
 +
            </div>
 +
        </div>
 +
    </section>
  
 
</html>
 
</html>
  
 
{{Bordeaux/Footer}}
 
{{Bordeaux/Footer}}

Revision as of 16:31, 19 October 2016

Sleep with EpiC elegans

Overview

As iGEMers we are responsible of using safe practices during our lab work in order to reduce the risks linked to harmful substances or organisms. A big number of iGEM teams use engineered E. coli or other bacteria in their projects and their release in the environment is a risk that should be prevented. However, there are always limits to prevention and the use of a tool to predict the risk of an eventual release of bacteria in the laboratory could help reinforce the biosafety in an alternative way. This is why we created a software that can allow users to simulate the growth of transformed bacteria for a given set of parameters defined by the user. The user can input an initial number of bacteria that would be released on a surface, the percentage that are transformed, parameters linked to the are of the simulated surface and parameters linked to plasmid loss and plasmid transfer.

The simulation

Our tool runs an agent-based simulation. The agents are bacteria which can be transformed or not and the environment is a grid of squares that represent each 1µm² of a solid surface. Each square can contain one bacterial cell diractly in contact with the surface or piled up on another bacterium in contact with the surface. The piling up is limited by the user. A certain concentration of an energy source for the bacteria can be present on the grid. Time is concrete so bacteria repeat a schedule of actions at each time step. These actions are consuming nutrients, metabolizing them, dividing or dying if certain conditions are met.

To simulate the growth of bacteria we used two different approaches that are explaind in the section . In this section we will concentrate on the parameters that the user can define and how that can change the result they obtain.

The user interface

We opted for a simple user interface (figure 1) in gtkmm as the language we used for the simulation is C++. It was one of our principal goals to make an interface so that non-programmers could run our application without problems.
The interface where users can define parameters
The parameters the user can define are linked to experimental conditions but also to the mechanics of the simulation itself. These parameters are explained below.
    The simulation time is the real life time that will be simulated The simulation step is the interval of time at which the system will be updated. It can be changed if users find it necessary to add more precision or make the simulation faster. The initial number of bacteria is the total number of transformed (donors) and not transformed (recipient) bacteria. The percentage of donor bacteria is the number of bacteria possessing a plasmid and can conjugate with other bacteria. The height and length of the grid (the simulation environment) are the number of squares that occupy the grid's height and length. By default it is 1000x1000 but in case of a very large number of bacteria it can be extented. The conjugation rate is the probability by which a donor will give a copy of its plasmid to a bacterium close to it (in the distance of one square The segregation loss is the probability that a donor cell will not pass its plasmid to its daughter cell during division The plasmid cost id the probability of death of a transformed bacterium because of the absence of selection pressure. By default it's 0 but it could be bigger in case, for example, of a bacterium with an antibiotic-resistance plasmid in an antibiotic-free environment.