Team:Aberdeen Scotland/DNA
From 2014.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | ||
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script> | <script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script> | ||
+ | |||
+ | <!-- Manual scripting --> | ||
+ | <script type="text/javascript"> | ||
+ | function update() { | ||
+ | dna = translator.toDNA({ text: $("#text_in").val() }); | ||
+ | $("#dna_out").val(dna); | ||
+ | } | ||
+ | |||
+ | $(document).ready( | ||
+ | function() { | ||
+ | $("#dna_out").val(""); | ||
+ | |||
+ | translate = new dna({}); | ||
+ | |||
+ | $("#text_in").change(update); | ||
+ | } | ||
+ | ); | ||
+ | </script> | ||
</head> | </head> |
Revision as of 16:53, 12 August 2014
Overview
This app will let you transcode text to DNA. The mapping alphabet is using the E. Coli codon bias and can translate the following character:
Letters [a to z] and [A to Z]
Digits [0 to 9]
Full-Stop[.]
Type in the text you wish translated to DNA in the following box.
*You can try entering your name for instance
The translation of your text will appear here.