Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
|||
(63 intermediate revisions not shown) | |||
Line 40: | Line 40: | ||
- | + | 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); | |
- | + | growthvar = parseFloat(growth.value)/parseFloat(growthunit.value); | |
Line 56: | Line 56: | ||
- | + | activity1 = (parseFloat(conc)/(parseFloat(CFUcount)/1e12)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar))+(parseFloat(growthvar)))/parseFloat(copynumber.value); | |
- | |||
- | if ( | + | 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 86: | 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 96: | 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 106: | 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> | ||
Line 123: | Line 126: | ||
Fluorescence per spinach (slope of a standard series). | Fluorescence per spinach (slope of a standard series). | ||
Background fluorescence from your culture (intercept). | Background fluorescence from your culture (intercept). | ||
- | CFU/L or optical density at 600 nm (OD600) for your | + | 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. | 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. | 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> | + | 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>. |
Line 139: | 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 146: | 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 156: | 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 170: | 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:3px"> | <td width="21%" style="padding-top:3px"> | ||
Line 181: | 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 190: | 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"> | ||
Line 209: | 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:3px"> | <td width="21%" style="padding-top:3px"> | ||
<select name="growthunit" style="width:80px"> | <select name="growthunit" style="width:80px"> | ||
Line 219: | 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 228: | 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"> | ||
Line 245: | 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 252: | 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> | ||
Line 260: | Line 263: | ||
<table> | <table> | ||
<tr> | <tr> | ||
- | <td | + | <td width="37%"> |
- | <output name="activity2" type="number" step="0.1 | + | <output name="activity2" type="number" step="0.1"></output> |
</td> | </td> | ||
- | <td width="50">PoPS | + | <td width="50%">PoPS |
</td> | </td> | ||
</tr> | </tr> | ||
Line 276: | Line 279: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="50%" style="text-align:right"><output name="activity" type="number" step="0.1"></output></td> |
- | <td width=" | + | <td width="50%"> PoPS</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 286: | Line 289: | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Latest revision as of 02:38, 18 October 2014