# Mutagenesis primers

`seq_mutagenesis_primers` is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Sequence.

## What it answers

Required: kind (substitution, insertion, deletion); scheme (overlapping-complementary, back-to-back); model. Designs site-directed mutagenesis primers for one change on unambiguous A/C/G/T DNA under the stated scheme. Primer Tm in degC by nearest-neighbour thermodynamics with the Owczarzy 2004 salt correction, or 2008 when Mg is above 0; no design rule is relaxed.

The reply's result carries these fields (each measured number carries its unit, or a withheld notice when a rule applies):

- `method` (string, required)
- `mutant` (string, required)
- `mutantLength` (integer, unit `1`, required)
- `mutantOrigin` (integer, required)
- `changedMutantSpan` (object, required)
  - `start` (integer, required)
  - `end` (integer, required)
- `wtBases` (string, required)
- `mutantBases` (string, required)
- `unchangedOffsets` (array of integer, required)
- `counts` (object, required)
  - `windows` (integer, unit `1`, required)
  - `boundary` (integer, unit `1`, required)
  - `length` (integer, unit `1`, required)
  - `flankShort` (integer, unit `1`, required)
  - `offCentre` (integer, unit `1`, required)
  - `gc` (integer, unit `1`, required)
  - `abutment` (integer, unit `1`, required)
  - `matched3PrimeShort` (integer, unit `1`, required)
  - `deltaTm` (integer, unit `1`, required)
  - `passed` (integer, unit `1`, required)
- `candidateCap` (integer, unit `1`, required)
- `capped` (boolean, required)
- `conditions` (object, required)
  - `oligo` (number, unit `nM`, required)
  - `na` (number, unit `mM`, required)
  - `k` (number, unit `mM`, required)
  - `tris` (number, unit `mM`, required)
  - `mg` (number, unit `mM`, required)
  - `dntp` (number, unit `mM`, required)
  - `model` (required): One of `primer-excess`, `equal-strands`.
  - `saltCorrection` (required): One of `owczarzy-2004`, `owczarzy-2008`, `santalucia-1998`.
- `tmLimits` (object, optional)
  - `limit` (string, required)
  - `outside` (array of string, required)
- `input` (object, required)
  - `alphabet` (required): One of `dna`, `rna`, `protein`.
  - `alphabetFrom` (required): One of `record`, `stated`, `detected`.
  - `circular` (boolean, required)
  - `length` (integer, unit `1`, required)
  - `format` (string, required)
  - `records` (integer, unit `1`, required)
  - `warnings` (array of string, optional)
  - `offenders` (object, optional)
    - `count` (integer, unit `1`, required)
    - `first` (array of object, required)
- `scheme` (required): One of `overlapping-complementary`, `back-to-back`.
- `candidates` (array of object, required)
  - `rank` (integer, unit `1`, required)
  - `forward` (object, required)
    - `sequence` (string, required)
    - `length` (integer, unit `1`, required)
    - `gc` (number, unit `%`, required)
    - `matchedLeft` (integer, unit `1`, required)
    - `matchedRight` (integer, unit `1`, required)
    - `matchedTotal` (integer, unit `1`, required)
    - `matched3PrimeSequence` (string, required)
    - `matched3PrimeLength` (integer, unit `1`, required)
    - `tmMutant` (number, unit `degC`, required)
    - `tmMatched3Prime` (number, unit `degC`, required)
    - `mutantStart` (integer, required)
    - `mutantEnd` (integer, required)
    - `crossesOrigin` (boolean, required)
    - `fullyMatched` (boolean, required)
  - `reverse` (object, optional)
    - `sequence` (string, required)
    - `length` (integer, unit `1`, required)
    - `gc` (number, unit `%`, required)
    - `matchedLeft` (integer, unit `1`, required)
    - `matchedRight` (integer, unit `1`, required)
    - `matchedTotal` (integer, unit `1`, required)
    - `matched3PrimeSequence` (string, required)
    - `matched3PrimeLength` (integer, unit `1`, required)
    - `tmMutant` (number, unit `degC`, required)
    - `tmMatched3Prime` (number, unit `degC`, required)
    - `mutantStart` (integer, required)
    - `mutantEnd` (integer, required)
    - `crossesOrigin` (boolean, required)
    - `fullyMatched` (boolean, required)
  - `partner` (object, optional)
    - `sequence` (string, required)
    - `length` (integer, unit `1`, required)
    - `gc` (number, unit `%`, required)
    - `matchedLeft` (integer, unit `1`, required)
    - `matchedRight` (integer, unit `1`, required)
    - `matchedTotal` (integer, unit `1`, required)
    - `matched3PrimeSequence` (string, required)
    - `matched3PrimeLength` (integer, unit `1`, required)
    - `tmMutant` (number, unit `degC`, required)
    - `tmMatched3Prime` (number, unit `degC`, required)
    - `mutantStart` (integer, required)
    - `mutantEnd` (integer, required)
    - `crossesOrigin` (boolean, required)
    - `fullyMatched` (boolean, required)
  - `deltaTm` (number, unit `K`, optional)
  - `product` (object, optional)
    - `length` (number, unit `bp`, required)
    - `topology` (`linear`, required)
    - `needsCircularisation` (boolean, required)
  - `rankTerms` (array of integer in `1`, required)
    - `value` (integer, required)
    - `unit` (`1`, required)
    - `level` (string, required)
- `notes` (array of object, optional)
  - `id` (string, required)
  - `text` (string, required)
- `flags` (array of object, optional)
  - `id` (string, required)
  - `text` (string, required)
  - `paths` (array of string, required)

**Limits:**

- Nothing here is an assessment of any person's variant, sample or molecule, and a difference reported from a reference is a difference, not an interpretation.
- It computes from the inputs it receives. It does not check the person's data, design or sample.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

> Research and education software; not for diagnosis or treatment decisions.
>
> Not medical advice. Nothing here is advice about any medicine, treatment or condition, and nothing here is an assessment of any person's variant, sample or molecule. Decisions made with it are yours.

## What this page can and cannot show

Weakest level among this tool's methods: Checked against a reference. Reference kind not recorded for 4 of 4 methods.

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: Site-directed mutagenesis primers](https://www.drybench.com/sequence/mutagenesis-primers) · [Open Drybench Sequence](https://www.drybench.com/sequence/app) · [Drybench Sequence: methods and checks](https://www.drybench.com/methods/sequence) · [What the levels mean](https://www.drybench.com/methods/levels) · [Every assistant tool](https://www.drybench.com/methods/tools)

## Inputs

An omitted input takes the default its description states; the reply's `inputsReceived` shows what was given. Any input not listed here is refused.

- `template` (string, required): The DNA template: plain letters, FASTA (first record) or GenBank. Spaces, line breaks and position numbers are ignored. At most 1,000,000 letters.
- `alphabet` (string, optional): How to read the sequence. Omit to take it from the record (FASTA or GenBank fields) or, failing that, from the letters. 'dna-circular' reads DNA as a circle. One of `dna`, `rna`, `protein`, `dna-circular`.
- `kind` (string, required): Mutagenesis edit type (substitution, insertion, or deletion). One of `substitution`, `insertion`, `deletion`.
- `position` (integer, required): 1-based template position: first changed base (substitution/deletion) or base followed by insertion.
- `bases` (string, optional): Replacement or inserted A/C/G/T bases (required for substitution or insertion).
- `length` (integer, optional): Number of bases to delete (required for deletion).
- `scheme` (string, required): Primer design scheme (overlapping-complementary or back-to-back). One of `overlapping-complementary`, `back-to-back`.
- `oligo` (object, optional): Oligo concentration as { value, unit }.
  - `value` (number, required)
  - `unit` (string, required): One of `M`, `mM`, `uM`, `nM`, `pM`, `fM`, `mol/L`, `µM`, `μM`.
- `na` (object, optional): Sodium ion concentration as { value, unit }.
  - `value` (number, required)
  - `unit` (string, required): One of `M`, `mM`, `uM`, `nM`, `pM`, `fM`, `mol/L`, `µM`, `μM`.
- `mg` (object, optional): Magnesium ion concentration as { value, unit }.
  - `value` (number, required)
  - `unit` (string, required): One of `M`, `mM`, `uM`, `nM`, `pM`, `fM`, `mol/L`, `µM`, `μM`.
- `dntp` (object, optional): Total dNTP concentration as { value, unit }.
  - `value` (number, required)
  - `unit` (string, required): One of `M`, `mM`, `uM`, `nM`, `pM`, `fM`, `mol/L`, `µM`, `μM`.
- `model` (string, required): Strand concentration model (primer-excess or equal-strands). One of `primer-excess`, `equal-strands`.

## What it withholds or refuses

A refusal, a withheld value or another named status is an answer: the reply gives the reason and no number in its place; an absent value is not zero. Invalid input means nothing ran.

- `EMPTY_SEQUENCE`: No sequence, or only whitespace. (`oligo-tm-nearest-neighbour@1.0.0`)
- `INVALID_NUCLEOTIDES`: Any character other than A, C, G or T (whitespace and line breaks removed, case ignored); each offender is named with its 1-based position. (`oligo-tm-nearest-neighbour@1.0.0`)
- `UNPHYSICAL_CONDITIONS`: Fewer than two bases (one stack needs two), reported under this code; or conditions no supported hybridisation buffer has: \[Mon+\] above 2,000 mM, Mg2+ above 1,000 mM, dNTPs above 100 mM, the oligo outside 1 pM to 1 mM, or \[Mon+\] below 1 mM with free Mg2+ below 0.1 mM. (`oligo-tm-nearest-neighbour@1.0.0`)

## How to cite a number from it

Every reply carries a cite line. It names, in order: the tool and the server version; each method the call went through, with its version and level (and the limit beside a level where the method's record narrows it); the receipt, the first 12 characters of the hashes of the arguments and of the result; and the address where its methods are described. Quote it with any number taken from the reply.

The receipt identifies a computation; it is not a signature. It holds no time, so the same arguments on the same server and method versions give the same receipt, and anyone can call the tool again and compare; a later method version can change the output hash.

### An example

The values asked and the values answered, computed by this tool when this page was built:

**Asked with**

- `alphabet`: dna
- `kind`: substitution
- `position`: 210
- `bases`: GCT
- `scheme`: overlapping-complementary
- `oligo`: 250 nM
- `na`: 50 mM
- `mg`: 0 mM
- `dntp`: 0 mM
- `model`: primer-excess

It answered (`computed`):

- `method`: sdm-primers-v1
- `scheme`: overlapping-complementary
- `mutantLength`: 420
- `mutantOrigin`: 1
- `wtBases`: ATA
- `mutantBases`: GCT
- `candidateCap`: 5,000
- `capped`: no

The reply carries more values than are shown here.

Its cite line:

```cite
seq_mutagenesis_primers, server 1.0.0; sdm-primers-two-schemes@sdm-primers-v1 (Checked against a reference); oligo-tm-nearest-neighbour@1.0.0 (Checked against a reference); salt-correction-owczarzy-2004@1.0.0 (Checked against a reference); receipt d3f37dc84adc/4df91e5ee048; methods https://www.drybench.com/methods/sequence; page https://www.drybench.com/methods/tools/seq-mutagenesis-primers. Quote this line with any number taken from this reply.
```

## Methods

Every method and reference the tool's replies cite, with its version and level. A reply names the methods that call went through.

### Site-directed mutagenesis primers

- **Method:** `sdm-primers-two-schemes@sdm-primers-v1`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Two schemes, each a sequence design under the rules stated here. Overlapping complementary primers: a window of the mutant top strand containing the change with its exact reverse complement, annealing length 25 to 45 bases measured on the mutant, at least 10 perfectly matched bases on each side of the change (12 to 15 preferred), the change central to within 3 bases, GC 40 to 60 per cent preferred and 30 to 70 per cent required. Back-to-back primers, circular templates only: the changed bases within the 5′-most six bases of the forward primer with at least 15 perfectly matched bases 3′ of the last change, 18 to 30 perfectly matched bases on each primer, each primer's GC fraction 30 to 70 per cent as in the overlapping scheme, the partner primer's 5′ end abutting the forward primer's, and the pair's matched-part melting temperatures within 3 °C; the product is the linear whole-template amplicon and requires circularisation before it is a plasmid. Substitutions of 1 to 3 bases, insertions and deletions of up to 12 bases, templates of 2 to 50,000 bases. Melting temperatures come from the suite's nearest-neighbour model at the conditions shown, and every one of them is of a perfectly matched duplex: for each primer, its melting temperature against the mutant sequence it matches exactly, and the melting temperature of its longest perfectly matched 3′ segment against the template. The melting temperature of a primer against a template it does not fully match is outside this model and is not given. Candidates are ranked by flank balance, the preferred flank band, GC distance and length, each term compared at a published precision: that precision is the agreement between this engine and its oracle, not a physical resolution, and a melting-temperature difference of 1e-6 °C is not a difference anyone can measure. The counts of candidates rejected under each rule are reported. Nothing is relaxed to produce a result.
- **How it was checked:** Checked against 10 design cases over the two schemes and 8 refusals published and hashed from an independent derivation written before the engine (every melting temperature and reverse complement from Biopython 1.88 under the recorded conditions; the mutant, the candidate windows, the matched flanks, GC, the ranking and the counts by reason derived in the script; one case per scheme worked by hand with a write refusal): every sequence, coordinate, flank count, count and refusal exact, each melting temperature within 1e-6 °C (17 October 2026). The cases include a three-base substitution with an unchanged middle base, a twelve-base insertion, a twelve-base deletion crossing a circular origin, a short linear template whose only window carries unequal flanks, and a GC-rich stretch where no window passes: 405 of its 735 candidates fall to the matched-flank minimum, 242 to the central tolerance, 73 to the GC range and 15 to the template's ends.
- What was not checked: not recorded for sdm-primers-two-schemes\@sdm-primers-v1. Its absence does not mean everything was checked.
- [Method, sources and checks](https://www.drybench.com/methods/m/sdm-primers-two-schemes)
- [On Drybench Sequence's methods page: Mutagenesis primers](https://www.drybench.com/methods/sequence#mutagenesis-primers)

### Oligo melting temperature by nearest neighbour

- **Method:** `oligo-tm-nearest-neighbour@1.0.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** SantaLucia J Jr. A unified view of polymer, dumbbell, and oligonucleotide DNA nearest-neighbor thermodynamics. Proc Natl Acad Sci USA 1998;95:1460-1465 (Table 2 read 6 October; full text read 14 October 2026, PMC19045); concentration models after SantaLucia J Jr, Hicks D. Annu Rev Biophys Biomol Struct 2004;33:415-440 (C\_A − C\_B/2; C\_B → 0 for a primer in excess is this app's application of that formula, not the paper's). [doi:10.1073/pnas.95.4.1460](https://doi.org/10.1073/pnas.95.4.1460)
- **How it was checked:** Checked against Biopython 1.88 MeltingTemp.Tm\_NN within 0.1 °C on 45 oligos under both concentration models, with the Owczarzy 2008 regime exact and the seven refusals exact (6 October 2026).
- What was not checked: The equal-strands Tm on the page (4.55 °C) is the hand file's second case, hand-cgttga-1m-equal-strands; the engine gives 4.55 on it (11 November 2026). The page generator runs every case of a published case file and nothing from a draft: until this hand file is published, 4.55 °C is not a run expected value on any page, and this record's project-choice text must not reach a published page before it (this project's ruling of 11 November 2026). Once published, the record lists the file under cases with caseIds including hand-cgttga-1m-equal-strands. No published case set names oligo-tm-nearest-neighbour\@1.0.0. The 49 cases of stored reference values are not tied to this version by their manifest. The oracle, Biopython, applies the same published table; agreement with it shows the arithmetic, not the parameters. No measured melting temperature is among the cases: the prediction has not been checked against measurement by this project. Mismatches, dangling ends, modified bases and RNA are outside the method and are refused or not offered, not checked. No case runs this method through the served tool on its production runtime. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- [Method, sources and checks](https://www.drybench.com/methods/m/oligo-tm-nearest-neighbour)
- [On Drybench Sequence's methods page: Oligo Tm](https://www.drybench.com/methods/sequence#oligo-tm)

### Monovalent salt correction

- **Method:** `salt-correction-owczarzy-2004@1.0.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Owczarzy R, You Y, Moreira BG, et al. Effects of sodium ions on DNA duplex oligomers: improved predictions of melting temperatures. Biochemistry 2004;43:3537-3554 (the form, the 69 mM to 1.02 M Na⁺ range and the accuracy, abstract); constants as the same authors print them in US 8,055,451 B2, col. 4, Equation 3. The authors report a 1.6 °C average error on an independent literature set (abstract). This app applies the correction to a nearest-neighbour Tm predicted at 1 M, whose own error adds to it. [doi:10.1021/bi034621r](https://doi.org/10.1021/bi034621r)
- **How it was checked:** Checked against Biopython 1.88 MeltingTemp.Tm\_NN within 0.1 °C on 45 oligos under both concentration models, with the Owczarzy 2008 regime exact and the seven refusals exact (6 October 2026).
- What was not checked: Owczarzy et al. 2004 itself was not read (subscription only): the equation and constants are taken from, and checked against, the same authors' patent US 8,055,451 B2, col. 4, Eq. 3, read in full on 11 November 2026. The fitted range of 69 to 1,020 mM \[Mon+\], on which the tool's outside-fit note rests, comes from the paper's abstract only. The constants were transcribed into the engine from the patent and the oracle, Biopython 1.88, prints the same constants: agreement with it is not an independent check of the constants (this project's ruling of 11 November 2026, section S9). No published case set names salt-correction-owczarzy-2004\@1.0.0. No measured melting temperature is among the cases. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- [Method, sources and checks](https://www.drybench.com/methods/m/salt-correction-owczarzy-2004)
- [On Drybench Sequence's methods page: Oligo Tm](https://www.drybench.com/methods/sequence#oligo-tm)

### Magnesium and mixed-cation salt correction

- **Method:** `salt-correction-owczarzy-2008@1.0.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Owczarzy R, Moreira BG, You Y, Behlke MA, Walder JA. Predicting stability of DNA duplexes in solutions containing magnesium and monovalent cations. Biochemistry 2008;47:5336-5353 (the R switch, abstract); constants, form and \[Mon⁺\] adjustments as the same authors print them in US 8,055,451 B2 (col. 38, Table IIIa; col. 19, Eq. 13; col. 22, Eqs. 18 to 20). R = 6 on the original-constants side is this app's convention. Ka = 3 × 10⁴ M⁻¹ for dNTPs as Biopython 1.88 applies it, citing Owczarzy 2008. Unverified: not yet checked against Owczarzy 2008. [doi:10.1021/bi702363u](https://doi.org/10.1021/bi702363u)
- **How it was checked:** Checked against Biopython 1.88 MeltingTemp.Tm\_NN within 0.1 °C on 45 oligos under both concentration models, with the Owczarzy 2008 regime exact and the seven refusals exact (6 October 2026).
- What was not checked: Owczarzy et al. 2008 itself was not read: the form, constants and regime switch are taken from, and checked against, the same authors' patent US 8,055,451 B2 read in full on 11 November 2026. Free Mg2+ with dNTPs present: Ka = 3 × 10^4 /M is taken from Biopython 1.88; Owczarzy 2008 has not been read, and the authors' patent approximates free Mg2+ as total Mg2+ minus dNTPs. The two agree within about 5 percent of free Mg2+ when Mg2+ exceeds dNTPs by 0.7 mM or more, and diverge when dNTPs are at or above Mg2+, where no case checks this tool. The reference program uses the same formula and constant, so it is not an independent check of this path. The patent's worked example prints a, d and g to three figures and carries them, and reaches 346.3 K (73.2 °C). The engine carries them unrounded and gives 346.295 K (73.145 °C) from the same inputs: a difference of 0.024 K, inside the 0.05 K that the patent's own rounding allows. The example starts from a measured Tm° that the tool does not take, so it runs through the engine's correction function, not the tool. The free-Mg2+ ranges in the tool's outside-fit notes (0.5 to 600 mM with the original constants, 0.5 to 125 mM with the adjusted ones) are read from the patent's preferred ranges (cols. 11-12 and 17-18), not from the paper; the reply marks them unverified. The oracle, Biopython 1.88, prints the same constants (its method 7): agreement with it is not an independent check of the constants (this project's ruling of 11 November 2026, section S9). No published case set names salt-correction-owczarzy-2008\@1.0.0. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- [Method, sources and checks](https://www.drybench.com/methods/m/salt-correction-owczarzy-2008)
- [On Drybench Sequence's methods page: Oligo Tm](https://www.drybench.com/methods/sequence#oligo-tm)

No independent scientist has yet reviewed these checks. [What the levels mean](https://www.drybench.com/methods/levels).

## Changes to its methods

- No correction is logged for sdm-primers-two-schemes\@sdm-primers-v1.
- No correction is logged for oligo-tm-nearest-neighbour\@1.0.0.
- No correction is logged for salt-correction-owczarzy-2004\@1.0.0.
- No correction is logged for salt-correction-owczarzy-2008\@1.0.0.

## Where it runs

The local MCP server serves this tool; the hosted MCP connection does not.

## Methods and checks

- [Drybench Sequence: methods and checks](https://www.drybench.com/methods/sequence)
- [Reference checks: Drybench Sequence](https://www.drybench.com/methods/sequence/checks)
- [What the levels mean](https://www.drybench.com/methods/levels)
- [Every assistant tool](https://www.drybench.com/methods/tools)
