Difference between revisions of "Team:NEFU China/Software1"

Line 280: Line 280:
  
 
<section id="resume" style="box-shadow: inset 0px 15px 15px -15px green">
 
<section id="resume" style="box-shadow: inset 0px 15px 15px -15px green">
<div class="row introduction" >
+
<div class="row introduction">
 
<div class="three columns header-col">
 
<div class="three columns header-col">
             <h1><span>intorduction</span></h1>
+
             <h1><span style="
 +
    color: orange;
 +
    font-size: 25px;
 +
">introduce</span></h1>
 
         </div>
 
         </div>
 
         <div class="nine columns main-col">
 
         <div class="nine columns main-col">
 
             <div class="row item">
 
             <div class="row item">
 
<div class="twelve columns">
 
<div class="twelve columns">
<h3>Aim</h3>
+
<h3 style="
 +
    font-size: 45px;
 +
">Aim</h3>
 
<p class="info">Build Coding Book</p>
 
<p class="info">Build Coding Book</p>
<p>
+
<p style="
 +
    font-size: 26px!important;
 +
">
 
In English text, each letter has a certain frequency. We constructed a list of letter frequencies for each letter. Also, in living organisms, each codon is used with a certain frequency. Based on this relationship between English letters and codons,  we find out the correspondence between letters and codons by using DFS (Depth First Search) algorithm and optimization arithmetic.
 
In English text, each letter has a certain frequency. We constructed a list of letter frequencies for each letter. Also, in living organisms, each codon is used with a certain frequency. Based on this relationship between English letters and codons,  we find out the correspondence between letters and codons by using DFS (Depth First Search) algorithm and optimization arithmetic.
 
</p>
 
</p>
Line 298: Line 305:
 
  <h3>Programming</h3>
 
  <h3>Programming</h3>
 
      <br>
 
      <br>
  <p>
+
  <p style="
 +
    font-size: 26px!important;
 +
">
 
      <strong>1. Create a letter-frequency table and a codon-frequency table.</strong><br>
 
      <strong>1. Create a letter-frequency table and a codon-frequency table.</strong><br>
 
  According to the literature, we obtain the information of the frequency of letters and codons.
 
  According to the literature, we obtain the information of the frequency of letters and codons.
 
  <br><br>
 
  <br><br>
 
  <strong>2. Find out the correspondence between letters and codons by using DFS Algorithm.</strong><br>
 
  <strong>2. Find out the correspondence between letters and codons by using DFS Algorithm.</strong><br>
  We build up a tree structure where the codons and the frequency of the codons are stored on each node. Then we use the depth-first search algorithm to traverse down from the root node successively, and match condon-frequence with the letter- frequency to obtain the correspondence between letters and codons.<br>
+
  We build up a tree structure where the codons and the frequency of the codons are stored on each node. Then we use the depth-first search algorithm to traverse down from the root node successively, and match condon-frequence with the letter- frequency to obtain the correspondence between letters and codons.
 +
<br><br>
 
                       The tree structure is shown in the figure 1.<br>
 
                       The tree structure is shown in the figure 1.<br>
  <img style="width:750px;" src="https://static.igem.org/mediawiki/2018/b/bd/T--NEFU_China--software1-tree.png"><br>
+
  <div align="center">
 +
<img style="width:750px;" src="https://static.igem.org/mediawiki/2018/b/bd/T--NEFU_China--software1-tree.png"><br>
 +
</div>
 
  Figure 1. Tree Structute.
 
  Figure 1. Tree Structute.
 
      <br><br>
 
      <br><br>
  <strong>3. Get the optimal solution by using optional algorithm.</strong><br>
+
  <p style="
 +
    font-size: 26px!important;
 +
">
 +
    <strong>3. Get the optimal solution by using optional algorithm.</strong></p>
 
  In step 2, we get the correspondence between letters and codons. But some letters have multiple corresponding relationships. For example, in figure 1, the letters E and T correspond to codons GAU, GCU, GAA, E and T also correspond to codons GAU, GCU, AUG. What’s more, the letter T can also correspond to codons GAU, GCU, GCA. Therefore, we use the optimal algorithm to determine one of the multiple correspondence. <br>  
 
  In step 2, we get the correspondence between letters and codons. But some letters have multiple corresponding relationships. For example, in figure 1, the letters E and T correspond to codons GAU, GCU, GAA, E and T also correspond to codons GAU, GCU, AUG. What’s more, the letter T can also correspond to codons GAU, GCU, GCA. Therefore, we use the optimal algorithm to determine one of the multiple correspondence. <br>  
 
  <!--
 
  <!--
Line 354: Line 369:
 
       <div class="row results">
 
       <div class="row results">
 
         <div class="three columns header-col">
 
         <div class="three columns header-col">
             <h1><span>RESULTS</span></h1>
+
             <h1><span style="
 +
    color: orange;
 +
    font-size: 25px;
 +
">RESULTS</span></h1>
 
         </div>
 
         </div>
 
         <div class="nine columns main-col">
 
         <div class="nine columns main-col">
Line 360: Line 378:
 
               <div class="twelve columns">
 
               <div class="twelve columns">
 
               <h3>Print the correspondence between letters and codons</h3>
 
               <h3>Print the correspondence between letters and codons</h3>
                   <p>
+
                   <p style="
 +
    padding-top: 20px;
 +
    font-size: 26px!important;
 +
">
 
Output:<br>
 
Output:<br>
 
<br>
 
<br>
Line 385: Line 406:
 
  <div class="row others">
 
  <div class="row others">
 
         <div class="three columns header-col">
 
         <div class="three columns header-col">
             <h1><span>Others</span></h1>
+
             <h1><span style="
 +
    color: orange;
 +
    font-size: 25px;
 +
">Others</span></h1>
 
         </div>
 
         </div>
         <div class="nine columns main-col">
+
         <div class="nine columns main-col" style="
 +
    font-size: 26px!important;
 +
">
 
             <div class="row item">
 
             <div class="row item">
 
               <div class="twelve columns">
 
               <div class="twelve columns">
 
               <h3>Visual Software</h3>
 
               <h3>Visual Software</h3>
 
                  
 
                  
                   <p>
+
                   <p style="
 +
    font-size: 26px!important;
 +
">
 
                   We developed a visual software. There are an input textbox, an output textbox, two radio buttons and a translate button in the software interface. We can choose radio buttons to select letters to codons or codons to letters. In addition to these, our software can also provide open files, copy files, cut files, save files, print files and other basic functions.<br>
 
                   We developed a visual software. There are an input textbox, an output textbox, two radio buttons and a translate button in the software interface. We can choose radio buttons to select letters to codons or codons to letters. In addition to these, our software can also provide open files, copy files, cut files, save files, print files and other basic functions.<br>
 
      Software interface:<br>
 
      Software interface:<br>
      <img style="width:750px;" src="https://static.igem.org/mediawiki/2018/5/5c/T--NEFU_China--software-v1.png">
+
      <br>
 +
<div align="center">
 +
<img style="width:750px;" src="https://static.igem.org/mediawiki/2018/5/5c/T--NEFU_China--software-v1.png"><br>
 +
</div>
 +
<br>
 +
 
 
      Letters to Codons:<br>
 
      Letters to Codons:<br>
  <img style="width:750px;" src="https://static.igem.org/mediawiki/2018/3/35/T--NEFU_China--software-v2.png">
+
  <div align="center">
 +
<img style="width:750px;" src="https://static.igem.org/mediawiki/2018/3/35/T--NEFU_China--software-v2.png">
 +
</div><br>
 +
 
 
  Codons to letters:<br>
 
  Codons to letters:<br>
  <img style="width:750px;" src="https://static.igem.org/mediawiki/2018/8/8d/T--NEFU_China--software-v3.png">
+
  <div align="center">
 +
<img style="width:750px;" src="https://static.igem.org/mediawiki/2018/8/8d/T--NEFU_China--software-v3.png">
 +
<div></div></div>
 
                   </p>
 
                   </p>
 
               </div>
 
               </div>
Line 418: Line 456:
 
       </div>  
 
       </div>  
 
</section>
 
</section>
 
 
</body>
 
</body>
  
 
</html>
 
</html>

Revision as of 02:25, 18 October 2018

Software 1

introduce

Aim

Build Coding Book

In English text, each letter has a certain frequency. We constructed a list of letter frequencies for each letter. Also, in living organisms, each codon is used with a certain frequency. Based on this relationship between English letters and codons, we find out the correspondence between letters and codons by using DFS (Depth First Search) algorithm and optimization arithmetic.

Programming


1. Create a letter-frequency table and a codon-frequency table.
According to the literature, we obtain the information of the frequency of letters and codons.

2. Find out the correspondence between letters and codons by using DFS Algorithm.
We build up a tree structure where the codons and the frequency of the codons are stored on each node. Then we use the depth-first search algorithm to traverse down from the root node successively, and match condon-frequence with the letter- frequency to obtain the correspondence between letters and codons.

The tree structure is shown in the figure 1.


Figure 1. Tree Structute.

3. Get the optimal solution by using optional algorithm.

In step 2, we get the correspondence between letters and codons. But some letters have multiple corresponding relationships. For example, in figure 1, the letters E and T correspond to codons GAU, GCU, GAA, E and T also correspond to codons GAU, GCU, AUG. What’s more, the letter T can also correspond to codons GAU, GCU, GCA. Therefore, we use the optimal algorithm to determine one of the multiple correspondence.


RESULTS

Print the correspondence between letters and codons

Output:

Draw letter-frequency histogram


Others

Visual Software

We developed a visual software. There are an input textbox, an output textbox, two radio buttons and a translate button in the software interface. We can choose radio buttons to select letters to codons or codons to letters. In addition to these, our software can also provide open files, copy files, cut files, save files, print files and other basic functions.
Software interface:



Letters to Codons:

Codons to letters: