Team:UT-Tokyo/test.html
From 2013.igem.org
(Difference between revisions)
(34 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
rel='stylesheet' type='text/css'> | rel='stylesheet' type='text/css'> | ||
- | <div id="global_wrapper" | + | <div id="global_wrapper"> |
- | <div id="header" | + | <div id="header"> |
- | <div class="logo"> | + | <div class="logo"> |
- | + | <img | |
- | + | src="https://static.igem.org/mediawiki/2013/9/93/Clock_ecoli_paper5.png" | |
- | </div> | + | height="120px"> |
- | <div class="wrapper"> | + | </div> |
- | + | <div class="wrapper"> | |
- | </div> | + | <div class="box">Thanks for your visiting our team wiki!</div> |
+ | </div> | ||
</html> | </html> | ||
{{:Team:UT-Tokyo/Template/Header1|subpagename=TEAM}} | {{:Team:UT-Tokyo/Template/Header1|subpagename=TEAM}} | ||
<html> | <html> | ||
+ | <div id="contents"> | ||
+ | <h2>Automatic RNA silencing primer designer</h2> | ||
- | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
function getReverseSeq(str) { | function getReverseSeq(str) { | ||
//先頭24塩基を抽出してアンチセンスを返す | //先頭24塩基を抽出してアンチセンスを返す | ||
Line 95: | Line 62: | ||
function getRP(str) { | function getRP(str) { | ||
- | + | var reverse = str.substring(7, 24); | |
- | var reverse = str.substring(7, 24 | + | |
- | + | ||
return reverse; | return reverse; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 121: | Line 80: | ||
function onClick() { | function onClick() { | ||
document.getElementById('sequence').innerHTML = "5'- " | document.getElementById('sequence').innerHTML = "5'- " | ||
- | + document.gen.argtext.value + " -3' | + | + document.gen.argtext.value + " -3'"; |
var reverse = getReverse(document.gen.argtext.value); | var reverse = getReverse(document.gen.argtext.value); | ||
- | + | var forwardonly = "<p style=\"display:inline;color: #3CB371;\">ggatctagag</p>" | |
- | + | + getReverseSeq(document.gen.argtext.value) | |
- | + | + "<p style=\"display:inline;color: #1E90FF;\">tttctgttgggccattgcattgcc</p>"; | |
- | + | ||
- | + | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
document.getElementById('generated').innerHTML = "5'- " | document.getElementById('generated').innerHTML = "5'- " | ||
- | + forwardonly + " -3' | + | + forwardonly + " -3'"; |
+ | } | ||
- | + | function onClick2() { | |
- | + | + | document.getElementById('sequence2').innerHTML = "5'- " |
- | var | + | + document.gen2.argtext2.value + " -3'"; |
- | var rp = getRP(document. | + | |
- | + | var fp = getFP(document.gen2.argtext2.value); | |
- | + | + | var rp = getRP(document.gen2.argtext2.value) |
- | + | + getReverseSeq("tactagag") | |
- | document.getElementById(' | + | + getReverseSeq("acctctggcggtgataatggttgc"); |
- | + | document.getElementById('fp').innerHTML = "5'- " + fp + " -3'"; | |
- | document.getElementById(' | + | document.getElementById('rp').innerHTML = "5'- " + rp + " -3'"; |
- | + | ||
} | } | ||
+ | function submitStop(e) { | ||
+ | if (!e) | ||
+ | var e = window.event; | ||
- | + | if (e.keyCode == 13) | |
- | + | return false; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
</script> | </script> | ||
<form name="gen"> | <form name="gen"> | ||
<input type="text" name="argtext" | <input type="text" name="argtext" | ||
- | value="ATGCATGCATGCATGCATGCATGCATGCATGC" /> <input type="button" | + | value="ATGCATGCATGCATGCATGCATGCATGCATGC" |
- | + | onKeyPress="onClick();return submitStop(event);" /> <input | |
+ | type="button" value="generate" onclick="onClick()" /> | ||
</form> | </form> | ||
- | <div | + | |
- | < | + | <div> |
- | <p id=" | + | <h3>CDS</h3> |
- | < | + | <p id="sequence"></p> |
- | <p id="generated | + | <h3>Forward Primer for BioBrick</h3> |
- | + | <p id="generated"></p> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</div> | </div> | ||
+ | <form name="gen2"> | ||
+ | <input type="text" name="argtext2" | ||
+ | value="ATGCATGCATGCATGCATGCATGCATGCATGC" | ||
+ | onKeyPress="onClick2();return submitStop(event);" /> <input | ||
+ | type="button" value="generate" onclick="onClick2()" /> | ||
+ | </form> | ||
+ | <div> | ||
+ | <h3>CDS</h3> | ||
+ | <p id="sequence2"></p> | ||
+ | <h3>Forward Primer for Inverse PCR</h3> | ||
+ | <p id="fp"></p> | ||
+ | <h3>Reverse Primer for Inverse PCR</h3> | ||
+ | <p id="rp"></p> | ||
+ | </div> | ||
- | + | </div> | |
- | </ | + | </div> |
+ | <div id="footer"></div> | ||
+ | |||
+ | </div> | ||
+ | <p> | ||
</html> | </html> |
Latest revision as of 03:34, 28 September 2013
Thanks for your visiting our team wiki!
TEAM
Automatic RNA silencing primer designer
CDS
Forward Primer for BioBrick
CDS
Forward Primer for Inverse PCR
Reverse Primer for Inverse PCR