Team:Heidelberg/Modeling/miGUI

From 2010.igem.org

(Difference between revisions)
Line 41: Line 41:
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];
for (var i=0; i<=countinput; i++) {
for (var i=0; i<=countinput; i++) {
var r = 0;
var r = 0;
-
dformsnr = dforms["giveinput"+num];
 
dformsnrelement = dformsnr.elements[i];
dformsnrelement = dformsnr.elements[i];
 +
if(dformsnrelement.type == 'radio') {
if(dformsnrelement.type == 'radio') {
if (dformsnrelement.checked == true) {
if (dformsnrelement.checked == true) {
Line 70: Line 71:
dataarray[num][i-r] = dformsnrelement.value;
dataarray[num][i-r] = dformsnrelement.value;
}
}
 +
alert(dataarray[num][i-r]);
}
}
}
}
Line 102: Line 104:
}
}
-
document.all.targetselection.src = scriptoutput;
+
document.getElementById("targetselection").src = scriptoutput;
}
}
Line 109: Line 111:
specialcorrections();
specialcorrections();
readvar(num);
readvar(num);
-
writevar(num, scriptoutput);
 
-
 
-
 
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][3];
+
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][4];
 +
break;
 +
 +
case 6: scriptoutput = 'http://igem.bioquant.uni-heidelberg.de/cgi-bin/igem_2010/test1.pl?input1=' + dataarray[num][4];
break;
break;
}
}
 +
 +
writevar(num, scriptoutput);
 +
 +
 +
}
}
Line 219: Line 226:
</form>
</form>
-
<iframe name="targetselection"></iframe> </td></tr>
+
<iframe id="targetselection" name="targetselection" style="border: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">

Revision as of 18:58, 23 October 2010

GUI_Picture shRNAmir Promoter_1 Promoter_2 Operator miGene shR_BS miR_BS Reference tet-R_Promoter tet-Repressor tet-miR_BS Virus

shRNAmir:
Promoter 1:
Promoter 2:
Operator:
miGene:
shR_BS:
miRNA_BS:
Target:

Off-Target:

On: Off:
Treshold:
Reference:
tet-Promotor:
tet-Repressor:
tet-miR_BS:
Virus:
asdfasdfText Text Text Text
Text Text Text Text
Variable1

Choose your first promoter

Choose your second promoter

Text Text Text Text
Text Text Text Text

Variable3

Text Text Text Text
Text Text Text Text

Variable4

Text Text Text Text
Text Text Text Text

Variable5

miRBS

Choose your Target:

Choose your Off-Targets:

On-Targeting Off-Targeting

Set relative miRNA treshold

Text Text Text Text
Text Text Text Text

Variable6

Text Text Text Text
Text Text Text Text

Variable7

Text Text Text Text
Text Text Text Text

Variable8

Text Text Text Text
Text Text Text Text

Variable9

Text Text Text Text
Text Text Text Text

Variable10