Skip to content

Pairwise DNA alignment

seq_align

Aligns one DNA sequence to a DNA reference, on both strands.

Runs
Built, not hosted
Level
Checked against a reference: 60 published, hashed cases

What it is

Required: mode (global, semiglobal-read, local). Aligns one DNA sequence to a DNA reference with three-state affine-gap scoring on both strands (circular references searched round the origin; global alignment linear only). Returns the determined alignment, co-optimal placements, or a stated withheld state.

Field: Sequences. It is the same calculation as Drybench Sequence, called by an AI assistant through the server.

What it does

You give

  • reference (required): The DNA reference: plain letters, FASTA (first record) or GenBank. Spaces, line breaks and position numbers are ignored. At most 1,000,000 letters.
  • sequence (required): The sequence to align: plain letters or one FASTA record (header lines dropped).
  • mode (required): Alignment mode: semiglobal-read, global (linear only), or local.
  • alphabet: 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.
  • regionFrom: Optional region first base (1-based). Give both regionFrom and regionTo.
  • regionTo: Optional region last base (1-based inclusive).

No request is recorded for this tool.

Limits

  • 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.
  • No other limit is recorded for this tool.
Every input, with its units6 inputs
  • reference (required): The DNA reference: plain letters, FASTA (first record) or GenBank. Spaces, line breaks and position numbers are ignored. At most 1,000,000 letters.
  • sequence (required): The sequence to align: plain letters or one FASTA record (header lines dropped).
  • mode (required): Alignment mode: semiglobal-read, global (linear only), or local.
  • alphabet: 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.
  • regionFrom: Optional region first base (1-based). Give both regionFrom and regionTo.
  • regionTo: Optional region last base (1-based inclusive).

The calculation

The method's equations, constants and worked example.

Pairwise DNA alignmentdna-align-v1@dna-align 1.0.0

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for dna-align-v1@dna-align 1.0.0.

Sources

No source is recorded for this tool's methods.

How it is checked

Level

Checked against a reference.

Checked against

60 published, hashed cases (12 of them refusals) from an independent derivation on Biopython 1.88's PairwiseAligner under the same scoring: the optimum on both strands, exact; the co-optimal count, exact up to 1,000 and "more than 1,000" above it; the shown alignment first in the published tie order wherever the co-optimal set is at most 20,000, and above that checked optimal, not checked for order; the shared pairs and the placement groups at any count; the variation among co-optimal alignments where every alignment is listed. The whole table is searched up to the cell limit; above it the result is band-limited, with no number. Shared 12-base words count one per read position and reference position whose 12 letters agree, A C G T only (14 October 2026).

Cases

No case set is linked to this version.

Worked example

Not a published example. Inputs chosen by us; expected values computed by Biopython 1.88 Bio.Align.PairwiseAligner.

Hostile inputs

Sent 37 malformed, extreme and misspelt calls. None broke it, and every call with an undeclared argument, or with text in place of a number or a true/false value, was declined with a reason.

Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

Same answer

Called twice and with its arguments in another order, it gave the same result.

Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

Not checked

Not recorded. Its absence does not mean everything was checked.

What this project's records still lack5 things
  • A case worked by hand from the source's equation for dna-align-v1@dna-align 1.0.0.
  • The equation for dna-align-v1@dna-align 1.0.0.
  • The constants with their sources for dna-align-v1@dna-align 1.0.0.
  • A case set linked to this version for dna-align-v1@dna-align 1.0.0.
  • A record of what was not checked for dna-align-v1@dna-align 1.0.0.
Cite a number from this toolthe cite line

Every reply carries a cite line naming the tool, the server version, each method with its version and level, and the receipt. Quote it with any number taken from the reply.

seq_align, server 1.0.0; status invalid-input, nothing ran; no method record; receipt <input hash, 12 characters>/<output hash, 12 characters>; methods https://www.drybench.com/methods/sequence; page https://www.drybench.com/methods/tools/seq-align. There is no result to quote; this line identifies the call and its receipt.
Changes to its methods0 changes

No change is logged for these method versions.