Changeset 3519


Ignore:
Timestamp:
Oct 1, 2015, 2:51:01 PM (8 years ago)
Author:
olle
Message:

Refs #801. Refs #815. Wizard "Create new start DNA plate" updated regarding dilution calculation and reporting:
a. The aliquot volume is increased from 10 to 10.5µl, i.e. volume of FPA + FPB from 20 to 21µl.
b. The dilution factor is now calculated from the ΔCt value using a function obtained by fitting an exponential curve to the Illumina step ladder dilution chart, instead of using the latter chart itself. The aim is to avoid large differences in dilution for extracts with ΔCt values on separate sides of a ladder step.
c. Dilution volumes for DNA and water, as well as ΔCt values, are now reported with 2 decimals instead of 1, in order to simplify checking the dilution calculation.

  1. Javascript file select_dna_for_start_plate.js in resources/libprep/ updated:
    a. function getWellText(well)updated by increasing the aliquot volume from 10 to 10.5µl, and report dilution volumes for DNA and water, as well as ΔCt values, with 2 decimals instead of 1.
    b. Function fetchDilutionFactor(deltaCt) updated to calculate the dilution factor from the ΔCt value using a function obtained by fitting an exponential curve to the Illumina step ladder dilution chart, instead of using the latter chart itself.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.meludi/trunk/resources/libprep/select_dna_for_start_plate.js

    r3518 r3519  
    23352335      {
    23362336        // Calculations for each aliquot
    2337         var VOL_ALIQUOT = 10.0; // µl
     2337        var VOL_ALIQUOT = 10.5; // µl
    23382338        var deltaCt = info.deltaCt;
    23392339        var dilutionFactor = painter.fetchDilutionFactor(deltaCt);
     
    24132413        if (info.QubitConc != null)
    24142414        {
    2415           text += '<div class="volumes"><span class="volume">'+Numbers.formatNumber(volDNA, 1)+'</span> + <span class="water">'+Numbers.formatNumber(water, 1)+'µl</span></div>';
     2415          text += '<div class="volumes"><span class="volume">'+Numbers.formatNumber(volDNA, 2)+'</span> + <span class="water">'+Numbers.formatNumber(water, 2)+'µl</span></div>';
    24162416        }
    24172417        // --- ΔCt
    24182418        if (info.deltaCt != null)
    24192419        {
    2420           text += '<div class="quality-score">ΔCt='+Numbers.formatNumber(info.deltaCt, 1) + '</div>';
     2420          text += '<div class="quality-score">ΔCt='+Numbers.formatNumber(info.deltaCt, 2) + '</div>';
    24212421          if (info.deltaCt > QUALITY_SCORE_WARNING_LIMIT) warningMsg[warningMsg.length] = 'High ΔCt value';
    24222422        }
     
    25862586  {
    25872587    var dilutionFactor = 1.0;
     2588/*
     2589    // Illumina ladder dilution chart
    25882590    if (deltaCt > 0.5 && deltaCt <= 1.5)
    25892591    {
     
    26012603    {
    26022604      dilutionFactor = 16.0;
     2605    }
     2606*/
     2607    // Dilution curve fitted to centers of ladder steps in Illumina ladder dilution chart (Mats Jönsson 2015-09-28)
     2608    var fact = 2.8284271247;
     2609    var expFact = 0.6931471806;
     2610    dilutionFactor = fact * Math.exp(-expFact*deltaCt);
     2611    if (dilutionFactor < 1.0)
     2612    {
     2613      dilutionFactor = 1.0;
    26032614    }
    26042615    return dilutionFactor;
Note: See TracChangeset for help on using the changeset viewer.