Team:Aberdeen Scotland/DNA
From 2014.igem.org
(Difference between revisions)
Line 28: | Line 28: | ||
dna = translate.toDNA({ text: $("#text_in").val() }); | dna = translate.toDNA({ text: $("#text_in").val() }); | ||
$("#dna_out").val(dna); | $("#dna_out").val(dna); | ||
+ | $("#color_dna").innerHTML(""); | ||
} | } | ||
Line 102: | Line 103: | ||
<p>The translation of your text will appear here.</p> | <p>The translation of your text will appear here.</p> | ||
<textarea id="dna_out" rows="5" cols="200" placeholder="DNA will appear here" readonly></textarea> | <textarea id="dna_out" rows="5" cols="200" placeholder="DNA will appear here" readonly></textarea> | ||
+ | <input id="to_color" type="button" name="to_color" value="Translate"> | ||
+ | <div id="color_dna"><div>7</div></div> | ||
</div> | </div> | ||
Revision as of 20:32, 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.
7