Team:Aberdeen Scotland/DNA
From 2014.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
$("#to_dna").click(update); // update DNA on button click | $("#to_dna").click(update); // update DNA on button click | ||
$("#text_in").keypress( function() { | $("#text_in").keypress( function() { | ||
- | var | + | var kcode = event.keyCode || event.which; |
- | if( | + | if(kcode == 13) { //Enter keycode |
update(); | update(); | ||
} | } |
Revision as of 21:05, 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 characters:
Letters [a to z] and [A to Z], Digits [0 to 9],
Spaces [ ] and the 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.