Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
|||
(156 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<html> | <html> | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | $("#calc-input").trigger("input"); | ||
+ | }); | ||
+ | </script> | ||
<style> | <style> | ||
#PoPScalculator table td { | #PoPScalculator table td { | ||
Line 32: | Line 37: | ||
<div id="PoPScalculator" style="width:800px;position:relative;"> | <div id="PoPScalculator" style="width:800px;position:relative;"> | ||
- | <form onchange = " | + | <form id = "calc-input" onchange = " |
- | + | conc = (parseFloat(fluorescence.value)-parseFloat(intercept.value)) / parseFloat(slope.value); | |
- | + | CFUcount = parseFloat(CFU.value); | |
- | + | fold = parseFloat(foldfraction.value); | |
+ | degenvar = parseFloat(degen.value)/parseFloat(degenunit.value); | ||
- | if ( | + | growthvar = parseFloat(growth.value)/parseFloat(growthunit.value); |
- | if (growthcheck.checked) { | + | |
- | if (CFUcheck.checked) { | + | |
+ | |||
+ | if (conccheck.checked) { conc = parseFloat(concentration.value) }; | ||
+ | if (degcheck.checked) { degenvar = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) }; | ||
+ | if (growthcheck.checked) { growthvar = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; | ||
+ | if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1e12) }; | ||
+ | |||
+ | |||
+ | |||
+ | activity1 = (parseFloat(conc)/(parseFloat(CFUcount)/1e12)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar))+(parseFloat(growthvar)))/parseFloat(copynumber.value); | ||
+ | |||
+ | |||
+ | if (activity1 <= 0.01 || activity1 >= 100) { | ||
+ | activity.value = activity1.toExponential(2); | ||
+ | } else { | ||
+ | activity.value = (Math.round(activity1*1000))/1000; | ||
+ | } | ||
+ | |||
+ | activity2.value = activity.value; | ||
- | |||
- | |||
- | |||
"> | "> | ||
<table> | <table> | ||
- | <tr | + | <tr style="height:169px;"> |
- | <td | + | <td style="width:394px;"> |
<table height="80" width="360"> | <table height="80" width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="71%" colspan="2"> |
Fluorescence: | Fluorescence: | ||
</td> | </td> | ||
- | <td width=" | + | <td width="14%" style="text-align:right; padding-top: 3px;"> |
- | <input name="fluorescence" type="number" step="any" min="0 | + | <input name="fluorescence" type="number" step="any" min="0" style="width:90px" /> |
</td> | </td> | ||
- | <td width=" | + | <td width="15%"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 68: | Line 89: | ||
</td> | </td> | ||
<td style="text-align:right; padding-top: 3px;"> | <td style="text-align:right; padding-top: 3px;"> | ||
- | <input name="slope" type="number" step="any" min="0 | + | <input name="slope" type="number" step="any" min="0" style="width:90px" /> |
</td> | </td> | ||
- | <td width=" | + | <td width="15%"></td> |
</tr> | </tr> | ||
Line 78: | Line 99: | ||
</td> | </td> | ||
<td style="text-align:right; padding-top: 3px;"> | <td style="text-align:right; padding-top: 3px;"> | ||
- | <input name="intercept" type="number" step="any" min="0 | + | <input name="intercept" type="number" step="any" min="0" style="width:90px" /> |
</td> | </td> | ||
- | <td width=" | + | <td width="15%"></td> |
</tr> | </tr> | ||
Line 88: | Line 109: | ||
</td> | </td> | ||
<td style="text-align:right; padding-top: 3px;"> | <td style="text-align:right; padding-top: 3px;"> | ||
- | <input name="concentration" type="number" step="any" min="0 | + | <input name="concentration" type="number" step="any" min="0" style="width:90px" /> |
<td>µM</td> | <td>µM</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width="7%" style="padding-top:7px"><input type="checkbox" name="conccheck"></td><td colspan="2" width="71%"> | + | <td width="7%" style="padding-top:7px"><input type="checkbox" name="conccheck"></td><td colspan="2" width="71%">Calculate from concentration</td> |
- | <td width=" | + | <td width="15%"></td> |
</tr> | </tr> | ||
</table> | </table> | ||
</td> | </td> | ||
+ | <td style="font-size:10px; line-height:130%; padding: 10px 20px 10px 10px;"> | ||
+ | |||
+ | <p style="font-size:12px; font-weight:150%;">   PoPS calculator V. 1.0</p> | ||
+ | This calculator allows you to calculate your promoter activity in PoPS (Polymerases Per Second) | ||
+ | In order to use it you need to obtain: | ||
+ | Fluorescence signal from your culture. | ||
+ | Fluorescence per spinach (slope of a standard series). | ||
+ | Background fluorescence from your culture (intercept). | ||
+ | CFU/L or optical density at 600 nm (OD600) for your examined culture. | ||
+ | We have found degradation rate of Spinach in <i>E. coli</i> when grown in LB at 37 °C so feel free to use this value. | ||
+ | You also need a growth rate for your culture, and the copy number of the Spinach sequence per cell. | ||
+ | When your values are entered to the calculator you will receive your result, the calculator works using the formula derived <a href="https://2014.igem.org/Team:DTU-Denmark/Achievements/Modelling">here</a>. | ||
+ | |||
+ | |||
+ | </td> | ||
+ | |||
+ | |||
+ | |||
+ | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 102: | Line 142: | ||
<table height="80px" width="360"> | <table height="80px" width="360"> | ||
<tr> | <tr> | ||
- | <td width="63%" colspan="2"> | + | <td width="63%" colspan="2">Cell density:</td> |
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
<input name="CFU" type="number" step="any" min="0" style="width:90px"/> | <input name="CFU" type="number" step="any" min="0" style="width:90px"/> | ||
Line 109: | Line 149: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width="7%" style="padding-top:7px"><input type="checkbox" name="CFUcheck"></td><td colspan="2" width="71%"> | + | <td width="7%" style="padding-top:7px"><input type="checkbox" name="CFUcheck"></td><td colspan="2" width="71%">Calculate from OD measurement</td> |
<td width="21%"></td> | <td width="21%"></td> | ||
</tr> | </tr> | ||
Line 119: | Line 159: | ||
<td width="63%">OD600</td> | <td width="63%">OD600</td> | ||
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
- | <input name="OD600" type="number" step="any" min="0 | + | <input name="OD600" type="number" step="any" min="0" style="width:90px" /> |
</td> | </td> | ||
<td width="21%"> | <td width="21%"> | ||
Line 133: | Line 173: | ||
<td width="63%" colspan="2">Degradation rate:</td> | <td width="63%" colspan="2">Degradation rate:</td> | ||
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
- | <input name="degen" type="number" step="any" min="0" placeholder=" | + | <input name="degen" type="number" step="any" min="0" placeholder="0.740" value="0.740" style="width:90px" /> |
</td> | </td> | ||
- | <td width="21%" style="padding-top: | + | <td width="21%" style="padding-top:3px"> |
<select name="degenunit" style="width:80px"> | <select name="degenunit" style="width:80px"> | ||
<option value="3600">per hour</option> | <option value="3600">per hour</option> | ||
Line 144: | Line 184: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width="7%" style="padding-top:7px"><input type="checkbox" name="degcheck"></td><td colspan="2" width="74%"> | + | <td width="7%" style="padding-top:7px"><input type="checkbox" name="degcheck"></td><td colspan="2" width="74%">Calculate from half time</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 153: | Line 193: | ||
<td width="63%">Degradation half time:</td> | <td width="63%">Degradation half time:</td> | ||
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
- | <input name="deghalf" type="number" step="any" min="0" placeholder=" | + | <input name="deghalf" type="number" step="any" min="0" placeholder="0.937" value="0.937" style="width:90px" /> |
</td> | </td> | ||
<td width="21%" style="padding-top:4px"> | <td width="21%" style="padding-top:4px"> | ||
<select name="deghalfunit"> | <select name="deghalfunit"> | ||
- | <option value="3600"> | + | <option value="3600">hours</option> |
- | <option value="60"> | + | <option value="60">minutes</option> |
- | <option value="1"> | + | <option value="1">seconds</option> |
</select> | </select> | ||
</td> | </td> | ||
Line 172: | Line 212: | ||
<td width="63%" colspan="2">Growth rate:</td> | <td width="63%" colspan="2">Growth rate:</td> | ||
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
- | <input name="growth" type="number" step="any" min="0" placeholder=" | + | <input name="growth" type="number" step="any" min="0" placeholder="0.797" value="0.797" style="width:90px" /> |
- | <td width="21%" style="padding-top: | + | <td width="21%" style="padding-top:3px"> |
<select name="growthunit" style="width:80px"> | <select name="growthunit" style="width:80px"> | ||
<option value="3600">per hour</option> | <option value="3600">per hour</option> | ||
Line 182: | Line 222: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width="7%" style="padding-top:7px"><input type="checkbox" name="growthcheck"></td><td colspan="2" width="74%"> | + | <td width="7%" style="padding-top:7px"><input type="checkbox" name="growthcheck"></td><td colspan="2" width="74%">Calculate from doubling time<br></td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 191: | Line 231: | ||
<td width="63%">Growth doubling time:</td> | <td width="63%">Growth doubling time:</td> | ||
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
- | <input name="grodouble" type="number" step="any" min="0" placeholder=" | + | <input name="grodouble" type="number" step="any" min="0" placeholder="0.870" value="0.870" style="width:90px" /> |
<td width="21%" style="padding-top:4px"> | <td width="21%" style="padding-top:4px"> | ||
<select name="grodoubleunit"> | <select name="grodoubleunit"> | ||
- | <option value="3600"> | + | <option value="3600">hours</option> |
- | <option value="60"> | + | <option value="60">minutes</option> |
- | <option value="1"> | + | <option value="1">seconds</option> |
</select> | </select> | ||
</td> | </td> | ||
Line 208: | Line 248: | ||
<td width="63%">Fold-fraction:</td> | <td width="63%">Fold-fraction:</td> | ||
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
- | <input name="foldfraction" type="number" step="any" min="0" placeholder=" | + | <input name="foldfraction" type="number" step="any" min="0" placeholder="60" value="60" style="width:90px" /> |
</td> | </td> | ||
<td width="21%">%</td> | <td width="21%">%</td> | ||
Line 215: | Line 255: | ||
<td width="63%">Copy number:</td> | <td width="63%">Copy number:</td> | ||
<td width="16%" style="text-align:right; padding-top: 3px;"> | <td width="16%" style="text-align:right; padding-top: 3px;"> | ||
- | <input name="copynumber" type="number" step="any" min="0 | + | <input name="copynumber" type="number" step="any" min="0" style="width:90px" /> |
- | </td | + | </td> |
<td width="21%"></td> | <td width="21%"></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | <td rowspan="2" style="padding: 30px 50px 50px 163px;"> | ||
+ | <table> | ||
+ | <tr> | ||
+ | <td width="37%"> | ||
+ | <output name="activity2" type="number" step="0.1"></output> | ||
+ | </td> | ||
+ | <td width="50%">PoPS | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
</tr> | </tr> | ||
<tr height=231> | <tr height=231> | ||
<td> | <td> | ||
- | <table> | + | <table style="padding-top:70px;"> |
<tr> | <tr> | ||
- | <td | + | <td colspan="2"><center>Promoter activity</center></td> |
- | <td width=" | + | </tr> |
- | <td width=" | + | <tr> |
+ | <td width="50%" style="text-align:right"><output name="activity" type="number" step="0.1"></output></td> | ||
+ | <td width="50%"> PoPS</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 236: | Line 289: | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Latest revision as of 02:38, 18 October 2014