Skip to content

Commit 44e8532

Browse files
authored
Merge pull request #397 from kedhammar/update-neb-formulas
Update formulas to match updated NEB calc tool, assuming deprotonated phosphate hydroxyls
2 parents 077b273 + 33b4864 commit 44e8532

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

VERSIONLOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Scilifelab_epps Version Log
22

3+
## 20250304.1
4+
5+
Update formulas to match updated [NEB calc tool](https://nebiocalculator.neb.com/#!/dsdnaamt), assuming deprotonated phosphate hydroxyls.
6+
37
## 20250218.1
48

59
Bugfix demux script by skipping outputs that do not contain the relevant sample name.

scilifelab_epps/utils/formula.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def ng_to_fmol(ng, bp):
1010
Formula based on NEBioCalculator
1111
https://nebiocalculator.neb.com/#!/dsdnaamt
1212
"""
13-
return 10**6 * ng / (bp * 617.96 + 36.04)
13+
return 10**6 * ng / (bp * 615.96 + 36.04)
1414

1515

1616
def ng_ul_to_nM(ng_ul, bp):
@@ -23,7 +23,7 @@ def fmol_to_ng(fmol, bp):
2323
Formula based on NEBioCalculator
2424
https://nebiocalculator.neb.com/#!/dsdnaamt
2525
"""
26-
return fmol * (bp * 617.96 + 36.04) / 10**6
26+
return fmol * (bp * 615.96 + 36.04) / 10**6
2727

2828

2929
def nM_to_ng_ul(nM, bp):

0 commit comments

Comments
 (0)