Team:UT-Tokyo/test.html

From 2013.igem.org

(Difference between revisions)
Line 18: Line 18:
{{:Team:UT-Tokyo/Template/Header1|subpagename=TEAM}}
{{:Team:UT-Tokyo/Template/Header1|subpagename=TEAM}}
<html>
<html>
-
<div id="contents"><script type="text/javascript">
+
<div id="contents">
 +
 
 +
 
 +
<script type="text/javascript">
function getReverseSeq(str) {
function getReverseSeq(str) {
//先頭24塩基を抽出してアンチセンスを返す
//先頭24塩基を抽出してアンチセンスを返す
Line 86: Line 89:
+ document.gen.argtext.value + " -3' (CDS)";
+ document.gen.argtext.value + " -3' (CDS)";
var reverse = getReverse(document.gen.argtext.value);
var reverse = getReverse(document.gen.argtext.value);
-
while (reverse.length < 34) {
 
-
reverse = "-" + reverse;
 
-
}
 
-
document.getElementById('reverse').innerHTML = "3'- " + reverse
 
-
+ " -5' (CDS)";
 
var forwardonly = getForwardOnly(document.gen.argtext.value);
var forwardonly = getForwardOnly(document.gen.argtext.value);
-
var interaction = "--------------||||||||||||||||||||||||";
 
-
while (forwardonly.length - reverse.length < 24) {
 
-
forwardonly = "-" + forwardonly;
 
-
interaction = "-" + interaction;
 
-
}
 
-
document.getElementById('interaction').innerHTML = interaction;
 
document.getElementById('generated').innerHTML = "5'- "
document.getElementById('generated').innerHTML = "5'- "
+ forwardonly + " -3' (Forward Primer for BioBrick)";
+ forwardonly + " -3' (Forward Primer for BioBrick)";
-
var fp = "---------------------------------------"
+
var fp = getFP(document.gen.argtext.value);
-
+ getFP(document.gen.argtext.value);
+
-
var int2 = "-------------------------------------------||||||||||";
+
var rp = getRP(document.gen.argtext.value);
var rp = getRP(document.gen.argtext.value);
document.getElementById('fp').innerHTML = "5'- " + fp
document.getElementById('fp').innerHTML = "5'- " + fp
+ " -3' (Forward Primer for Inverse PCR)";
+ " -3' (Forward Primer for Inverse PCR)";
-
document.getElementById('int2').innerHTML = int2;
 
document.getElementById('rp').innerHTML = "5'- " + rp
document.getElementById('rp').innerHTML = "5'- " + rp
+ " -3' (Reverse Primer for Inverse PCR)";
+ " -3' (Reverse Primer for Inverse PCR)";
-
document.getElementById('rp_rev').innerHTML = "3'- "
 
-
+ getReverse(rp) + " -5' (Reverse Primer for Inverse PCR)";
 
}
}
</script>
</script>
Line 119: Line 106:
value="generate" onclick="onClick()" />
value="generate" onclick="onClick()" />
</form>
</form>
-
<div style="font-family: monospace;">
+
<div>
<p id="sequence"></p>
<p id="sequence"></p>
-
<p id="reverse" style="margin: 0px;"></p>
+
<p id="generated"></p>
-
<p id="interaction" style="margin: 0px;"></p>
+
-
<p id="generated" style="margin: 0px;"></p>
+
<p></p>
<p></p>
-
<p id="fp" style="margin: 0px;"></p>
+
<p id="fp"></p>
-
<p id="int2" style="margin: 0px;"></p>
+
-
<p id="rp_rev" style="margin: 0px;"></p>
+
<p id="rp"></p>
<p id="rp"></p>
</div>
</div>

Revision as of 21:36, 27 September 2013

           TEAM