Team:DTU-Denmark/Achievements/Calculator

From 2014.igem.org

(Difference between revisions)
Line 43: Line 43:
var CFUcount = parseFloat(CFU.value);
var CFUcount = parseFloat(CFU.value);
var fold = parseFloat(foldfraction.value);
var fold = parseFloat(foldfraction.value);
 +
var degenvar = parseFloat(degen.value);
 +
var degenunitvar = parseFloat(degenunit.value);
 +
var growthvar = parseFloat(degenunit.value);
 +
var growthunitvar = parseFloat(growthunit.value);
 +
if (degcheck.checked) { degen.value = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) };
if (degcheck.checked) { degen.value = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) };
if (growthcheck.checked) { growth.value = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) };
if (growthcheck.checked) { growth.value = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) };
-
if (CFUcheck.checked) { CFU.value = (parseFloat(OD600.value)*10e-12) };
+
if (CFUcheck.checked) { CFU.value = (parseFloat(OD600.value)*1000000000000) };
-
activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value);
+
activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar)/parseFloat(degenunitvar))+(parseFloat(growthvar)/parseFloat(growthunitvar)))/parseFloat(copynumber.value);
activity.value = Math.round(parseFloat(activity.value)*100000)/100000;
activity.value = Math.round(parseFloat(activity.value)*100000)/100000;

Revision as of 21:19, 17 October 2014

Fluorescence:
Standard curve, intercept:
Standard curve, slope:
Spinach concentration: µM
Input concentration directly
CFU count CFU/L
Use OD measurement
OD600
Degradation rate:
Use degradation half time
Degradation half time:
Growth rate:
Use growth doubling time
Growth doubling time:
Fold-fraction: %
Copy number:
Promoter activity PoPS