Skip to content

Methods and checksMethods

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

Methods and checks pages

Bounded primer design for a target region, version bounded-flanks-v2

primer-design-bounded-flanks@bounded-flanks-v2: 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: PCR primer design for a target region, within your template · Every version of this method · Every method · What the levels mean

Version bounded-flanks-v2

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page. primer-design-bounded-flanks@bounded-flanks-v2

What this page can and cannot show

What was checked

Checked against 9 design cases and 4 refusals published and hashed from an independent derivation (every melting temperature from Biopython 1.88 under the recorded conditions; the windows, counts, ranking and caps derived in the script; exact binding by the exact-pair derivation; one case worked by hand): every returned pair, coordinate, product, count and cap exact, Tm and ranking terms within 1e-6 °C (11 October 2026). A separate primer-design program was run offline as a recorded comparison, not as the reference.

Cases: no case set is linked to primer-design-bounded-flanks@bounded-flanks-v2.

What was not checked

The 0.2 weight and the pair ranking are this project's judgement with no published source (this project's ruling of 11 November 2026 on primer-design conventions, sections A and B); the tool's defaults named there were read on its live manual, which states no version. The hand cases (one window a side; the two §D cases at x = 0.05 and 0.30, where the 0.2 decides the order) check the arithmetic and the order, not the choice; the oracle shares the conventions text, so its agreement does not test it either. Circular templates, tails, exclusions beyond one base, the caps and the exact-pair refusal are not hand-checked. What a returned pair does not show (amplification, genome specificity, mismatched binding, optimality, a single product) is listed in that ruling; the record does not restate it. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.

Equations

Enumerate, within an A/C/G/T template (linear or circular), candidate windows of the chosen lengths whose 3′ ends sit 0 to the chosen flank before the target's first base (forward) and after its last (reverse, read as the reverse complement), around the circle when circular. Reject a window, under the first reason that applies and counted, when it falls off a linear template, touches the target or an excluded region, or has a GC or a Tm (annealing part alone, primer in excess, the recorded conditions
oligo-tm-nearest-neighbour@1.0.0 with its salt correction) outside the bounds. Rank each side by |Tm − preferred Tm| + 0.2 × |length − preferred length| (then start, then length) and keep 24. Apply the product-length (tails included) and ΔTm bounds to the pairs, rank the rest by both departures, 0.2 times both length departures and the pair's ΔTm (ties to the earlier forward, then reverse, start), check the best 24 by the exact-pair method for one exact product at the designed sites, and return the first 5 that pass. A search cut at any cap is reported as capped. A returned pair is a sequence design, not evidence that it amplifies.

Ruling of this project: 11 November 2026, section "§B `primer-design-bounded-flanks@bounded-flanks-v2`: the pair ranking". Not yet published; its effect is stated on this page. A choice this project made, not a value from the literature.

Conventions

Convention chosen by this project: each base of departure from the preferred length counts as 0.2 °C of departure from the preferred Tm, so a primer 5 bases off the preferred length ranks as if its Tm were 1 °C further off. With a weight of 0, length would only break ties. With a weight of 1, Primer3's default, one base would count as much as 1 °C. The weight only orders candidates: the length, GC and Tm bounds are the same under every choice, and no candidate is removed by it.

As ruled by this project on 11 November 2026, section "§A `primer-design-bounded-flanks@bounded-flanks-v2`: the length weight".

Convention chosen by this project: pairs are ranked by both primers' departures from the preferred Tm, plus 0.2 °C per base of their length departures, plus the difference between their two Tm values. Two primers each 1 °C above the preferred Tm score 2; one 1 °C above and one 1 °C below score 4. Without the Tm-difference term, Primer3's default, those two pairs would tie. The product-length and Tm-difference limits are applied before ranking and are the same under every choice. The order is a ranking under these terms, not a prediction of which pair works best.

As ruled by this project on 11 November 2026, section "§B `primer-design-bounded-flanks@bounded-flanks-v2`: the pair ranking".

Constants

Constant Value and unit Source Date read
Weight of one base of length departure, in °C of Tm departure (w) 0.2 K 11 November 2026, section "§A `primer-design-bounded-flanks@bounded-flanks-v2`: the length weight" 2026-11-11
Limits stated before use: template 50,000 bases, flank 200, 24 windows a side, 24 pairs checked, 5 returned (sets 20, not ruled on) (DESIGN_LIMITS) a table of values, part of the method 11 November 2026, section "§C Limits, not conventions" 2026-11-11

Worked example

Worked example: one case of primer-design-bounded-flanks@bounded-flanks-v2, 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

  • template = AACCGGTTACGTGCATGCAAGTCCTTGACCAGTTCAGGCATCGATCGTTACCGGAAGTCTAGCTAGGCTTAACG
  • targetStart = 21
  • targetEnd = 40
  • flank = 0
  • minLength = 12
  • maxLength = 13
  • targetLength = 12
  • minTm = 0
  • maxTm = 100
  • targetTm = 38.11010098949852
  • maxDeltaTm = 30
  • minGc = 0
  • maxGc = 100
  • minProduct = 16
  • maxProduct = 200
  • excluded[0].start = 8
  • excluded[0].end = 8

Steps

  1. r13: reverse complement of bases 41 to 53 = CGGTAACGATCGA, gives result.pairs[0].reverse.annealing.
  2. tmR13 = 43.577564 Cel, from sequence = CGGTAACGATCGA; taken from salt-correction-owczarzy-2004@1.0.0, which has a page of its own.
  3. T: Tm(r12) + 0.30, passed as the number 38.11010098949852 = 38.11010099 Cel.
  4. total12: |Tm_f − T| + |Tm_r12 − T| + 0 + |Tm_f − Tm_r12| = 11.577156 K, gives result.pairs[1].ranking.total.
  5. total13: |Tm_f − T| + |Tm_r13 − T| + 0.2 + |Tm_f − Tm_r13| = 11.177156 K, gives result.pairs[0].ranking.total.
  6. difference: total13 − total12 = 0.2 − 2x = -0.40000000 K.

The working, as the case writes it:

total = |Tm_f − T| + |Tm_r − T| + 0.2 × length departures + |Tm_f − Tm_r|
T is the preferred Tm as passed
pairs ranked by total.

Answer

  • result.pairs[0].reverse.annealing = CGGTAACGATCGA
  • result.pairs[1].reverse.annealing = GGTAACGATCGA
  • result.pairs[0].ranking.total = 11.177156 K
  • result.pairs[1].ranking.total = 11.577156 K
  • result.pairs[0].ranking.lengthDeviation = 0.20000000
  • result.pairs[1].ranking.lengthDeviation = 0

Where these values came from: our own exact-arithmetic script and a hand-worked case.

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

  • CONSTRAINTS_REFUSED: The template is not one A/C/G/T record of at most 50,000 bases, or a constraint is outside its supported range; constraints are never relaxed.

Changes

No correction is logged for primer-design-bounded-flanks@bounded-flanks-v2.

Tools that use it

Cite this version

Bounded primer design for a target region. Drybench; primer-design-bounded-flanks@bounded-flanks-v2; https://www.drybench.com/methods/m/primer-design-bounded-flanks/bounded-flanks-v2 (accessed [date]).