Team:Heidelberg/Modeling/miGUI
From 2010.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
#rightformtable {background:transparent;align:center;} | #rightformtable {background:transparent;align:center;} | ||
</style> | </style> | ||
+ | |||
+ | <script type='text/javascript' src ='human_tissues_js.txt'></script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | |||
+ | /* tissuearray = tissuearray.split(";"); | ||
+ | function loadtissues() { | ||
+ | for(var i=0;i<tissuearray.length;i++) { | ||
+ | var entry = tissuearray[i]; | ||
+ | var entry1 = new Option(entry, entry); | ||
+ | var entry2 = new Option(entry, entry); | ||
+ | var entry3 = new Option(entry, entry); | ||
+ | var entry4 = new Option(entry, entry); | ||
+ | |||
+ | document.forms["formout7"].elements["miRBStarget"].options[document.forms["formout7"].elements["miRBStarget"].options.length] = entry1; | ||
+ | document.forms["formout7"].elements["miRBSofftarget[]"].options[document.forms["formout7"].elements["miRBSofftarget[]"].options.length] = entry2; | ||
+ | document.forms["giveinput7"].elements["miRBStarget"].options[document.forms["giveinput7"].elements["miRBStarget"].options.length] = entry3; | ||
+ | document.forms["giveinput7"].elements["miRBSofftarget[]"].options[document.forms["giveinput7"].elements["miRBSofftarget[]"].options.length] = entry4; | ||
+ | |||
+ | } | ||
+ | }*/ | ||
+ | |||
var dataarray = new Array(11); | var dataarray = new Array(11); | ||
d = document | d = document | ||
Line 41: | Line 62: | ||
dataarray[num] = new Array(countinput); | dataarray[num] = new Array(countinput); | ||
d.getElementById("lowerinputform"+num).style.display = "block"; | d.getElementById("lowerinputform"+num).style.display = "block"; | ||
- | dformsnr = dforms["giveinput"+num]; | + | var dformsnr = dforms["giveinput"+num]; |
for (var i=0; i<=countinput; i++) { | for (var i=0; i<=countinput; i++) { | ||
- | |||
dformsnrelement = dformsnr.elements[i]; | dformsnrelement = dformsnr.elements[i]; | ||
Line 76: | Line 96: | ||
function writevar(num, scriptoutput) { | function writevar(num, scriptoutput) { | ||
var countoutput=dforms["formout"+num].length-1; | var countoutput=dforms["formout"+num].length-1; | ||
- | |||
var r = 0; | var r = 0; | ||
- | dformsnr = dforms["formout"+num]; | + | var dformsnr = dforms["formout"+num]; |
+ | for (var i=0; i<=countoutput; i++) { | ||
+ | |||
dformsnrelement = dformsnr.elements[i]; | dformsnrelement = dformsnr.elements[i]; | ||
if(dformsnrelement.type == 'radio') { | if(dformsnrelement.type == 'radio') { | ||
Line 99: | Line 120: | ||
} | } | ||
else { | else { | ||
- | document.forms["formout"+num].elements[i | + | document.forms["formout"+num].elements[i].value = dataarray[num][i-r]; |
} | } | ||
Line 111: | Line 132: | ||
readvar(num); | readvar(num); | ||
switch (num) { | switch (num) { | ||
- | case 7: scriptoutput = 'http://igem.bioquant.uni-heidelberg.de/cgi-bin/igem_2010/aastha.pl?miRBStarget=' + dataarray[num][0] + '&miRBSofftarget=' + dataarray[num][1] + '&miRBSonofftarget=' + dataarray[num][2] + '&outmiRBStreshold=' + dataarray[num][ | + | case 7: scriptoutput = 'http://igem.bioquant.uni-heidelberg.de/cgi-bin/igem_2010/aastha.pl?miRBStarget=' + dataarray[num][0] + '&miRBSofftarget=' + dataarray[num][1] + '&miRBSonofftarget=' + dataarray[num][2] + '&outmiRBStreshold=' + dataarray[num][3]; |
- | + | ||
- | + | ||
- | + | ||
break; | break; | ||
+ | |||
} | } | ||
writevar(num, scriptoutput); | writevar(num, scriptoutput); | ||
- | |||
- | |||
} | } | ||
Line 132: | Line 149: | ||
} | } | ||
+ | |||
+ | function click() { | ||
+ | alert(window.frames['targetselection'].a) | ||
+ | } | ||
+ | |||
+ | |||
+ | //window.onload = loadtissues; | ||
</script> | </script> | ||
</head> | </head> | ||
Line 139: | Line 163: | ||
<html> | <html> | ||
<body> | <body> | ||
- | |||
<div id="main_page"> | <div id="main_page"> | ||
<div id="area_map"> | <div id="area_map"> | ||
Line 199: | Line 222: | ||
<tr id="lowerinputform7" class="lowerinputform"><td>miRNA_BS:<form name="formout7"> | <tr id="lowerinputform7" class="lowerinputform"><td>miRNA_BS:<form name="formout7"> | ||
Target: <br/><select name="miRBStarget"> | Target: <br/><select name="miRBStarget"> | ||
- | + | <option value='hsa_AML-HL60'>hsa_AML-HL60</option> | |
<option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | <option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | ||
<option value='hsa_AML-THP1'>hsa_AML-THP1</option> | <option value='hsa_AML-THP1'>hsa_AML-THP1</option> | ||
Line 209: | Line 232: | ||
<option value='hsa_AML3-d29'>hsa_AML3-d29</option> | <option value='hsa_AML3-d29'>hsa_AML3-d29</option> | ||
</select><br/> | </select><br/> | ||
- | Off-Target: <br/><select name="miRBSofftarget[]" size=" | + | Off-Target: <br/><select name="miRBSofftarget[]" size="8" multiple> |
- | + | <option value='hsa_AML-HL60'>hsa_AML-HL60</option> | |
<option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | <option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | ||
<option value='hsa_AML-THP1'>hsa_AML-THP1</option> | <option value='hsa_AML-THP1'>hsa_AML-THP1</option> | ||
Line 225: | Line 248: | ||
</form> | </form> | ||
- | <iframe id="targetselection" name="targetselection" style="border:none"></iframe> </td></tr> | + | <iframe id="targetselection" name="targetselection" style="border:none; display:none"></iframe> </td></tr> |
<tr id="lowerinputform8" class="lowerinputform"><td>Reference:<form name="formout8"> | <tr id="lowerinputform8" class="lowerinputform"><td>Reference:<form name="formout8"> | ||
<input name="output8" type="text" size="30" maxlength="30"> | <input name="output8" type="text" size="30" maxlength="30"> | ||
Line 312: | Line 335: | ||
<form name="giveinput7"> | <form name="giveinput7"> | ||
<p>Choose your Target:<br><select name="miRBStarget"> | <p>Choose your Target:<br><select name="miRBStarget"> | ||
- | + | <option value='hsa_AML-HL60'>hsa_AML-HL60</option> | |
<option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | <option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | ||
<option value='hsa_AML-THP1'>hsa_AML-THP1</option> | <option value='hsa_AML-THP1'>hsa_AML-THP1</option> | ||
Line 321: | Line 344: | ||
<option value='hsa_AML3-d0'>hsa_AML3-d0</option> | <option value='hsa_AML3-d0'>hsa_AML3-d0</option> | ||
<option value='hsa_AML3-d29'>hsa_AML3-d29</option> | <option value='hsa_AML3-d29'>hsa_AML3-d29</option> | ||
- | |||
</select></p> | </select></p> | ||
- | <p>Choose your Off-Targets:<br><select name="miRBSofftarget[]" size=" | + | <p>Choose your Off-Targets:<br><select name="miRBSofftarget[]" size="8" multiple> |
- | + | <option value='hsa_AML-HL60'>hsa_AML-HL60</option> | |
<option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | <option value='hsa_AML-Kas1'>hsa_AML-Kas1</option> | ||
<option value='hsa_AML-THP1'>hsa_AML-THP1</option> | <option value='hsa_AML-THP1'>hsa_AML-THP1</option> | ||
Line 333: | Line 355: | ||
<option value='hsa_AML3-d0'>hsa_AML3-d0</option> | <option value='hsa_AML3-d0'>hsa_AML3-d0</option> | ||
<option value='hsa_AML3-d29'>hsa_AML3-d29</option> | <option value='hsa_AML3-d29'>hsa_AML3-d29</option> | ||
- | |||
</select></p> | </select></p> | ||
<p> <input type="radio" name="miRBSonofftarget" value="on"> On-Targeting | <p> <input type="radio" name="miRBSonofftarget" value="on"> On-Targeting | ||
- | <input type="radio" name="miRBSonofftarget" value="off"> Off-Targeting | + | <input type="radio" name="miRBSonofftarget" value="off" checked="checked"> Off-Targeting |
</p> | </p> | ||
<p>Set relative miRNA treshold<br><input name="miRBStreshold" type="text" size="20" maxlength="20" value="0.001"></p> | <p>Set relative miRNA treshold<br><input name="miRBStreshold" type="text" size="20" maxlength="20" value="0.001"></p> |
Revision as of 23:39, 23 October 2010
|
|
||||||||||||||