Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
|||
(256 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 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); | ||
+ | |||
+ | growthvar = parseFloat(growth.value)/parseFloat(growthunit.value); | ||
+ | |||
+ | |||
+ | |||
+ | 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> | ||
- | <td> | + | <td colspan="2"> |
- | Standard curve: | + | Standard curve, intercept: |
</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> | ||
<tr> | <tr> | ||
- | <td> | + | <td colspan="2"> |
- | Standard curve: | + | Standard curve, slope: |
</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> | ||
<tr> | <tr> | ||
- | <td> | + | <td colspan="2"> |
Spinach concentration: | Spinach concentration: | ||
</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> | ||
+ | <td width="7%" style="padding-top:7px"><input type="checkbox" name="conccheck"></td><td colspan="2" width="71%">Calculate from concentration</td> | ||
+ | <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 81: | Line 142: | ||
<table height="80px" width="360"> | <table height="80px" width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%" colspan="2">Cell density:</td> |
- | <td width=" | + | <td width="16%" style="text-align:right; padding-top: 3px;"> |
- | <input name="CFU" type="number" step="any" min="0 | + | <input name="CFU" type="number" step="any" min="0" style="width:90px"/> |
</td> | </td> | ||
- | <td width=" | + | <td width="21%">CFU/L</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width="7%" style="padding-top:7px"><input type="checkbox" name="CFUcheck"></td><td colspan="2" width=" | + | <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=" | + | <td width="21%"></td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 96: | Line 157: | ||
<table width="360"> | <table width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%">OD600</td> |
- | <td width=" | + | <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=" | + | <td width="21%"> |
</td> | </td> | ||
</tr> | </tr> | ||
Line 110: | Line 171: | ||
<table width="360"> | <table width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%" colspan="2">Degradation rate:</td> |
- | <td width=" | + | <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=" | + | <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 123: | 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 130: | Line 191: | ||
<table width="360"> | <table width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%">Degradation half time:</td> |
- | <td width=" | + | <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=" | + | <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 149: | Line 210: | ||
<table width="360"> | <table width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%" colspan="2">Growth rate:</td> |
- | <td width=" | + | <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=" | + | <td width="21%" style="padding-top:3px"> |
- | <select name="growthunit"> | + | <select name="growthunit" style="width:80px"> |
<option value="3600">per hour</option> | <option value="3600">per hour</option> | ||
<option value="60">per minute</option> | <option value="60">per minute</option> | ||
Line 161: | Line 222: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width="7%" style="padding-top:7px"><input type="checkbox" name="growthcheck"></td><td colspan="2"> | + | <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 168: | Line 229: | ||
<table width="360"> | <table width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%">Growth doubling time:</td> |
- | <td width=" | + | <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=" | + | <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 185: | Line 246: | ||
<table width="360"> | <table width="360"> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%">Fold-fraction:</td> |
- | <td width=" | + | <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>%</td> | + | <td width="21%">%</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="63%">Copy number:</td> |
- | <td width=" | + | <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> | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | < | + | <td rowspan="2" style="padding: 30px 50px 50px 163px;"> |
- | + | ||
- | + | ||
- | + | ||
<table> | <table> | ||
- | + | <tr> | |
+ | <td width="37%"> | ||
+ | <output name="activity2" type="number" step="0.1"></output> | ||
+ | </td> | ||
+ | <td width="50%">PoPS | ||
+ | </td> | ||
+ | </tr> | ||
</table> | </table> | ||
- | </td> | + | </td> |
- | </tr> | + | </tr> |
+ | <tr height=231> | ||
+ | <td> | ||
+ | <table style="padding-top:70px;"> | ||
+ | <tr> | ||
+ | <td colspan="2"><center>Promoter activity</center></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td width="50%" style="text-align:right"><output name="activity" type="number" step="0.1"></output></td> | ||
+ | <td width="50%"> PoPS</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Latest revision as of 02:38, 18 October 2014