m |
m |
||
Line 218: | Line 218: | ||
</div> | </div> | ||
<h5>Procedures:</h5> | <h5>Procedures:</h5> | ||
− | <p>1. After running this program, | + | <p>1. After running this program, click the min track bar and move the mouse. You can see that the following window will change. The white parts are colonies. Move the track bar until the colony you want to measure looks the best (clearest).</p> |
− | <p>2. After the adjustment | + | <p>2. After the adjustment, click the left mouse button and move mouse to choose the colony you want. The selection box is a green box.</p> |
− | <p>3. After | + | <p>3. After choosing a colony, the area will be shown in the litter window. If there is no other colony in the window, you can press “Enter” to calculate the diameter of the colony. The result will be shown in the Python shell window. See Figure 1B.</p> |
− | <p> 4. Press “Esc” to | + | <p> 4. Press “Esc” to quit this program.</p> |
− | <p> You can click <a href="https://static.igem.org/mediawiki/2016/5/52/T--HZAU-China--Colony_radius_calculating_soft.zip">here</a> to download | + | <p> You can click <a href="https://static.igem.org/mediawiki/2016/5/52/T--HZAU-China--Colony_radius_calculating_soft.zip">here</a> to download this software.</p> |
</div> | </div> | ||
Line 230: | Line 230: | ||
</div> | </div> | ||
<h4>Motility dynamic model software</h4> | <h4>Motility dynamic model software</h4> | ||
− | <p> | + | <p>Based on the dynamic model, we package the modeling program into a software with a GUI. The program is coded using Python 2.7 and the GUI is created using traits/traitsUI. The image processing is performed using OpenCV-python interface and the result is displayed by Mayavi. Figure 2 shows the GUI of this software.</p> |
<img src = "https://static.igem.org/mediawiki/2016/b/b6/T--HZAU-China--model-soft_img.png" width="700px"> | <img src = "https://static.igem.org/mediawiki/2016/b/b6/T--HZAU-China--model-soft_img.png" width="700px"> | ||
− | <p style="text-align:center">Figure 2. Motility dynamic model software</p> | + | <p style="text-align:center">Figure 2. Motility dynamic model software.</p> |
<div class="random"> | <div class="random"> | ||
<a id="A21"> </a> | <a id="A21"> </a> | ||
</div> | </div> | ||
<h5>Procedures:</h5> | <h5>Procedures:</h5> | ||
− | <p>1. | + | <p>1. Run this software.</p> |
− | <p>2. | + | <p>2. Click the yellow folder shape icon in the back of “Choose File” to select a target image.</p> |
− | <p>3. | + | <p>3. Adjust the parameter values including k, r, ps and time.</p> |
− | <p>4. | + | <p>4. Choose a display mode (2D or 3D).</p> |
− | <p>5. | + | <p>5. Click “ok” button to solve PDE. The result will be shown in the bottom window. |
− | If you are | + | If you are interested in this program, you can download it by clicking <a href="https://static.igem.org/mediawiki/2016/b/be/T--HZAU-China--Motility_dynamic_model.zip">here</a>.</p> |
</div> | </div> | ||
<div class="devce"> | <div class="devce"> | ||
Line 250: | Line 250: | ||
<div class="motion"> | <div class="motion"> | ||
<h4>Colony motion simulation software</h4> | <h4>Colony motion simulation software</h4> | ||
− | <p>Because the project needs to simulate the pattern formation of colonies, so the initial point of the colony in the culture dish plays a vital role for the growth period of formation. It is necessary to fit the colony image and the target | + | <p>Because the project needs to simulate the pattern formation of colonies, so the initial point of the colony in the culture dish plays a vital role for the growth period of formation. It is necessary to fit the colony image and the target imag |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 19:58, 19 October 2016
Software
This year, we write a series of software for our project including colony radius calculation software, mathematical model software, device demo software and the core BioPaFiAR software (driver for the BioPaFiAR hardware device). Now we will introduce them one by one.
Colony radius calculation software
In this project, the specific pattern of bacteria is formed by controlling the motility of bacteria. So the first step of this project is validating the difference of motility. In experiment, the motility can be represented by the size of bacteria colony. So we write a sequential photography program, and it can be used to take a photo every 15 minutes combined with Raspberry Pi computer. After getting these pictures, we need to measure the diameter of colony. If measured manually, it will be a huge amount of workload. So we write a Python program to help us.
It is semi-automatic software and can be used in sequential photography. When this program is running, you can see the GUI like Figure 1A; the Python shell window is also useful for you to see the measure result (Figure 1B). You need two pictures as the input to this program. The first picture is the starting point in the picture sequences and the second picture is one you want to measure.
Warning: camera and the target object cannot be moved after shooting begins and the ambient light must be Invariant.
Figure 1. Colony radius calculation software.
Procedures:
1. After running this program, click the min track bar and move the mouse. You can see that the following window will change. The white parts are colonies. Move the track bar until the colony you want to measure looks the best (clearest).
2. After the adjustment, click the left mouse button and move mouse to choose the colony you want. The selection box is a green box.
3. After choosing a colony, the area will be shown in the litter window. If there is no other colony in the window, you can press “Enter” to calculate the diameter of the colony. The result will be shown in the Python shell window. See Figure 1B.
4. Press “Esc” to quit this program.
You can click here to download this software.
Motility dynamic model software
Based on the dynamic model, we package the modeling program into a software with a GUI. The program is coded using Python 2.7 and the GUI is created using traits/traitsUI. The image processing is performed using OpenCV-python interface and the result is displayed by Mayavi. Figure 2 shows the GUI of this software.
Figure 2. Motility dynamic model software.
Procedures:
1. Run this software.
2. Click the yellow folder shape icon in the back of “Choose File” to select a target image.
3. Adjust the parameter values including k, r, ps and time.
4. Choose a display mode (2D or 3D).
5. Click “ok” button to solve PDE. The result will be shown in the bottom window. If you are interested in this program, you can download it by clicking here.