Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Hairpin and dimer ΔG°37 by nearest-neighbour thermodynamics, version 1.0.0

hairpin-dimer-dg37@1.0.0: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

Use it on the web: Primer check: Tm, dimers, hairpins and binding sites · Use it on the web: PCR primer design for a target region, within your template · Every version of this method · Every method · What the levels mean

Version 1.0.0

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page. hairpin-dimer-dg37@1.0.0

What this page can and cannot show

What was checked

Hairpins = ntthal 2.6.1 within 0.4 kcal/mol on ntthal's own structures, 15 fixtures (6 October 2026); dimers = ntthal 2.6.1 within 0.1 kcal/mol on ntthal's own structures, 16 fixtures (6 October 2026). ntthal reports the structure with the highest melting temperature and this card the lowest ΔG°37.

Cases: no case set is linked to hairpin-dimer-dg37@1.0.0.

What was not checked

SantaLucia and Hicks 2004 was not read (Annual Reviews subscription): the initiation, terminal A·T, internal mismatch, dangling-end and loop parameters rest on it unread. The engine's initiation equals twice SantaLucia 1998's G·C end term to within 0.1 e.u.; the hand case declares that difference (+0.031 kcal/mol, ±0.01) before the run, as this project's ruling of 11 November 2026 requires. Only the full-duplex dimer path is checked by hand (GCGCGC: five stacks, two G·C ends, no dangling ends, no loop, no A·T end). The hairpin path, loops, mismatches and dangling ends have no hand case; they rest on the gate against ntthal 2.6.1 (15 hairpin and 16 dimer fixtures), which is agreement with another program built on the same parameter family, not an independent check of them (this project's ruling of 11 November 2026, section S9). The engine's loop table was not compared with any read source: the NNDB DNA loop table (fetched) is a different parameter set and differs from it (for example a hairpin of 3, 3.4 there and 3.5 here; a bulge of 1, 2.9 there and 4.0 here); the engine cites SantaLucia and Hicks 2004 Table 4 for it. The hairpin terminal mismatches agree with NNDB's table on all 48 entries the engine uses (11 November 2026). NNDB attributes nothing; the engine's header says SantaLucia and Hicks attribute them to unpublished work. Bommarito 2000 was not read: PMC serves only its front matter. Von Ahsen 2001 was not read in full: the sodium-equivalent formula is quoted from its abstract. ntthal applies no symmetry correction: inferred from fixture D04 (CTGACGTAAGCTTACGTCAG, self-complementary, full-length duplex), which passes the 0.1 kcal/mol dimer gate, where a 0.43 kcal/mol term would fail it. No published case set names hairpin-dimer-dg37@1.0.0. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.

Definition or model

Prediction error: none available.

Equations

Find, by dynamic programming, the two-state secondary structure of one oligo (hairpin) or two oligos (dimer) with the lowest ΔG°37: Watson–Crick stacks, bulges and internal loops of at most 30 bases, hairpin loops of at least 3, dangling ends and terminal mismatches at helix ends. Each term is ΔH° − 310.15 × ΔS°/1000 in 1 M NaCl
a dimer adds one duplex initiation and a terminal A·T penalty at each helix end
no symmetry correction for a self-dimer. Salt adds 0.368 × k × ln([Na⁺]eq / 1 M) to ΔS°, with k the pairs less one for each helix and [Na⁺]eq = Na⁺ + 120 √(Mg²⁺ − dNTP) in mM. No structure is reported when the best ΔG°37 is not below zero. The hairpin and loop rules, and where the engine follows a convention of the oracle program ntthal, are those of the engine's own method description.

Source: SantaLucia J Jr, Hicks D. The thermodynamics of DNA structural motifs. Annu Rev Biophys Biomol Struct 2004;33:415-440., equation 7 to 13, table 1 (initiation, terminal A·T), 2 (internal mismatches), 3 (dangling ends), 4 (loop initiation by length), version of record; cited, not read: the source itself was not opened, so this has not been checked against it (2026-11-11).

Conventions

Convention chosen by this project: no symmetry correction is applied to a self-dimer, as the oracle program ntthal does not apply one. SantaLucia 1998 adds ΔS° −1.4 e.u. for a self-complementary duplex; with it, every self-dimer's ΔG°37 would be 0.43 kcal/mol less negative. Dimers of two different oligos are the same under either choice.

As ruled by this project on 11 November 2026, section "Q1".

Convention chosen by this project: the structure reported is the one with the lowest ΔG°37. The oracle program ntthal reports the structure with the highest melting temperature, so for the same oligo it can show a different structure and a less negative ΔG°37. The choice changes which structure is reported, not how any structure is scored, and it errs toward warning: no structure scored here is more stable than the one reported.

As ruled by this project on 11 November 2026, section "hairpin-dimer-dg37@1.0.0, structure reported".

Constants

Constant Value and unit Source Date read
Watson–Crick stacks, ΔH° and ΔS° in 1 M NaCl (NN) a table of values, part of the method SantaLucia J Jr. A unified view of polymer, dumbbell, and oligonucleotide DNA nearest-neighbor thermodynamics. Proc Natl Acad Sci USA 1998;95:1460-1465., equation 3, 8, table 2, section Prediction of the Melting Temperature; Salt Dependence of Oligonucleotides 2026-11-11
Duplex initiation, once per dimer (ΔG_init) a table of values, part of the method SantaLucia J Jr, Hicks D. The thermodynamics of DNA structural motifs. Annu Rev Biophys Biomol Struct 2004;33:415-440., equation 7 to 13, table 1 (initiation, terminal A·T), 2 (internal mismatches), 3 (dangling ends), 4 (loop initiation by length) 2026-11-11; source not read, so the value has not been checked against it
Terminal A·T penalty, each helix end (ΔG_AT) a table of values, part of the method SantaLucia J Jr, Hicks D. The thermodynamics of DNA structural motifs. Annu Rev Biophys Biomol Struct 2004;33:415-440., equation 7 to 13, table 1 (initiation, terminal A·T), 2 (internal mismatches), 3 (dangling ends), 4 (loop initiation by length) 2026-11-11; source not read, so the value has not been checked against it
Dangling ends, 5′ and 3′, ΔH° and ΔG°37 (ΔG_dangle) a table of values, part of the method Bommarito S, Peyret N, SantaLucia J Jr. Thermodynamic parameters for DNA sequences with dangling ends. Nucleic Acids Res 2000;28:1929-1934., table the dangling-end ΔH° and ΔG°37 2026-11-11; source not read, so the value has not been checked against it
Internal single mismatches, ΔG°37 (ΔG_mm) a table of values, part of the method SantaLucia J Jr, Hicks D. The thermodynamics of DNA structural motifs. Annu Rev Biophys Biomol Struct 2004;33:415-440., equation 7 to 13, table 1 (initiation, terminal A·T), 2 (internal mismatches), 3 (dangling ends), 4 (loop initiation by length) 2026-11-11; source not read, so the value has not been checked against it
Hairpin terminal mismatches, ΔG°37 (AT, CG, GC and TA closing pairs) (ΔG_tmm) a table of values, part of the method Turner DH, Mathews DH. NNDB: the nearest neighbor parameter database for predicting stability of nucleic acid secondary structure. Nucleic Acids Res 2010;38:D280-D282; Mittal A, Turner DH, Mathews DH. Nucleic Acids Res 2024. DNA (RNAstructure) set, dna_hairpin_terminal_mismatch_dg.txt., table the AT, CG, GC and TA closing-pair tables (the GT and TG tables are not used) 2026-11-11
Loop initiation by length (internal, bulge, hairpin) (ΔG_loop) a table of values, part of the method SantaLucia J Jr, Hicks D. The thermodynamics of DNA structural motifs. Annu Rev Biophys Biomol Struct 2004;33:415-440., equation 7 to 13, table 1 (initiation, terminal A·T), 2 (internal mismatches), 3 (dangling ends), 4 (loop initiation by length) 2026-11-11; source not read, so the value has not been checked against it
Internal-loop asymmetry, per base (ΔG_asym) a table of values, part of the method SantaLucia J Jr, Hicks D. The thermodynamics of DNA structural motifs. Annu Rev Biophys Biomol Struct 2004;33:415-440., equation 7 to 13, table 1 (initiation, terminal A·T), 2 (internal mismatches), 3 (dangling ends), 4 (loop initiation by length) 2026-11-11; source not read, so the value has not been checked against it
Salt entropy coefficient per ln[Na⁺] per step (s_Na) a table of values, part of the method SantaLucia J Jr. A unified view of polymer, dumbbell, and oligonucleotide DNA nearest-neighbor thermodynamics. Proc Natl Acad Sci USA 1998;95:1460-1465., equation 3, 8, table 2, section Prediction of the Melting Temperature; Salt Dependence of Oligonucleotides 2026-11-11
37 °C in kelvin (T37) a table of values, part of the method SantaLucia J Jr. A unified view of polymer, dumbbell, and oligonucleotide DNA nearest-neighbor thermodynamics. Proc Natl Acad Sci USA 1998;95:1460-1465., equation 3, 8, table 2, section Prediction of the Melting Temperature; Salt Dependence of Oligonucleotides 2026-11-11
Sodium-equivalent coefficient of √(Mg²⁺ − dNTP), concentrations in mM (c_Mg) 120 mmol/L^(1/2) von Ahsen N, Wittwer CT, Schütz E. Oligonucleotide melting temperatures under PCR conditions: nearest-neighbor corrections for Mg2+, deoxynucleotide triphosphate, and dimethyl sulfoxide concentrations with comparison to alternative empirical formulas. Clin Chem 2001;47:1956-1961. Abstract, PubMed 11673362., section abstract, Results: "[Na(+)(eq)] = [Monovalent cations] + 120(square root of ([Mg2+]-[dNTPs])) (the concentrations in this formula are mmol/L)" 2026-11-11

Worked example

Worked example: one case of hairpin-dimer-dg37@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • forward = GCGCGC
  • na_mM = 50
  • mg_mM = 0
  • dntp_mM = 0

Steps

  1. stack1: SantaLucia 1998 Table 2, both strands of the duplex = GC/CG: ΔH° -9.8 kcal/mol, ΔS° -24.4 cal/K·mol, from dimer = GC, stack = GC/CG.
  2. stack2: SantaLucia 1998 Table 2, both strands of the duplex = CG/GC: ΔH° -10.6 kcal/mol, ΔS° -27.2 cal/K·mol, from dimer = CG, stack = CG/GC.
  3. stack3: SantaLucia 1998 Table 2, both strands of the duplex = GC/CG: ΔH° -9.8 kcal/mol, ΔS° -24.4 cal/K·mol, from dimer = GC, stack = GC/CG.
  4. stack4: SantaLucia 1998 Table 2, both strands of the duplex = CG/GC: ΔH° -10.6 kcal/mol, ΔS° -27.2 cal/K·mol, from dimer = CG, stack = CG/GC.
  5. stack5: SantaLucia 1998 Table 2, both strands of the duplex = GC/CG: ΔH° -9.8 kcal/mol, ΔS° -24.4 cal/K·mol, from dimer = GC, stack = GC/CG.
  6. init5: SantaLucia 1998 Table 2, both strands of the duplex = initiation with terminal G·C: ΔH° 0.1, ΔS° -2.8, from terminal = G·C.
  7. init3: SantaLucia 1998 Table 2, both strands of the duplex = initiation with terminal G·C: ΔH° 0.1, ΔS° -2.8, from terminal = C·G.
  8. dH: SantaLucia 1998 Table 2, both strands of the duplex = -50.4 kcal/mol.
  9. dS: SantaLucia 1998 Table 2, both strands of the duplex = -133.2 cal/(K.mol).
  10. dG1M: ΔH° − 310.15 × ΔS°/1000 = -9.088 kcal/mol.
  11. salt: 0.368 × k × ln[Na+], k = 5, [Na+] = 0.050 M (Eq. 8) = -5.51215 cal/(K.mol), from k = 5, Na = 0.050.
  12. dGhand: ΔH° − 310.15 × (ΔS° + salt)/1000, no symmetry correction = -7.378 kcal/mol.
  13. symmetry: with the 1998 symmetry correction, ΔS° −1.4 e.u. (shown beside, not applied) = -6.944 kcal/mol.
  14. offset: declared offset: 0.1 e.u. × 310.15 K / 1000 = 0.031 kcal/mol.
  15. expected: hand value + declared offset = -7.347 kcal/mol, gives result.structures.selfDimers.forward.dG37_kcal_per_mol.

The working, as the case writes it:

ΔG°37 = ΔH° − 310.15 × (ΔS°(1 M) + 0.368 × k × ln 0.050)/1000 with k = 5
the engine's initiation (SantaLucia and Hicks 2004, not read) has ΔS° 0.1 e.u. more negative than twice the 1998 G·C end term, so the engine is expected 0.031 kcal/mol above the hand value.

Answer

  • result.structures.selfDimers.forward.dG37_kcal_per_mol = -7.347 kcal/mol

Where these values came from: our own exact-arithmetic script and a hand-worked case; SantaLucia J Jr. Proc Natl Acad Sci USA 1998;95:1460-1465 (PMC19045), Table 2 (stacks; initiation with terminal G·C; symmetry correction) and Eq. 8 (salt).

The build has not run this example through the tool.

Worked by an AI session on 2026-11-11. No person has yet worked this case.

What it refuses, and its input ranges

  • INVALID_PRIMER: The forward primer is not A, C, G and T only: seq_primer_check refuses the call.
  • ok: false: A structure card carries no code: it is returned with ok false and a reason, and no value, when an oligo has other letters or is longer than 100 bases, the buffer has K⁺ or Tris⁺, or the buffer gives no positive sodium equivalent.

Changes

No correction is logged for hairpin-dimer-dg37@1.0.0.

Tools that use it

Cite this version

Hairpin and dimer ΔG°37 by nearest-neighbour thermodynamics. Drybench; hairpin-dimer-dg37@1.0.0; https://www.drybench.com/methods/m/hairpin-dimer-dg37/1.0.0 (accessed [date]).