# Multiple sequence alignment

`seq_align_multiple` · Runs: Built, not hosted · Level: Checked against a reference: 12 published, hashed cases and 7 refusals from an independent implementation of the same method written before the engine

Aligns 50 or fewer sequences to each other and gives the most common symbol in each column.

Research and education software; not medical advice, and not for diagnosis or treatment decisions. It computes from the inputs it receives. It does not check the person's data, design or sample.

[Catalogue](https://www.drybench.com/mcp/catalogue) / [Sequences](https://www.drybench.com/mcp/catalogue/sequences)

[Ask your assistant](https://www.drybench.com/mcp/connect) · [Open in Drybench Sequence](https://www.drybench.com/sequence/app)

```cite
Multiple sequence alignment (seq_align_multiple), Drybench MCP server 1.0.0; dna-msa-v1@dna-msa 1.0.0 (Checked against a reference); protein-msa-v1@protein-msa 1.0.0 (Checked against a reference); https://www.drybench.com/mcp/tools/seq-align-multiple
```

## What it is

Required: alphabet (dna, protein). Progressive UPGMA alignment of multiple DNA ('dna-msa-v1') or protein ('protein-msa-v1', BLOSUM62) sequences in input order. Returns aligned rows, join order, merge scores, and column counts; refuses gaps, invalid letters, or sets over engine cell caps rather than truncating.

Field: [Sequences](https://www.drybench.com/mcp/catalogue/sequences). It is the same calculation as [Drybench Sequence](https://www.drybench.com/sequence/app), called by an AI assistant through the server.

## What it does

**You give**

- `alphabet` (required): Required alphabet and published method ('dna' for dna-msa-v1, 'protein' for protein-msa-v1).
- `sequences` (required): The sequences to align in order (order determines progressive join tie-breaking).

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 reply also carries its app's limits line: "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."

### Every input, with its units

2 inputs

- `alphabet` (required): Required alphabet and published method ('dna' for dna-msa-v1, 'protein' for protein-msa-v1).
- `sequences` (required): The sequences to align in order (order determines progressive join tie-breaking).

## The calculation

2 methods, each with its equations, constants and worked example.

### [Progressive multiple alignment of DNA](https://www.drybench.com/methods/m/dna-msa-v1/dna-msa%201.0.0)

`dna-msa-v1@dna-msa 1.0.0`

No equation is recorded for this version.

Kind of method: not recorded.

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

### [Progressive multiple alignment of proteins](https://www.drybench.com/methods/m/protein-msa-v1/protein-msa%201.0.0)

`protein-msa-v1@protein-msa 1.0.0`

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for protein-msa-v1\@protein-msa 1.0.0.

## Sources

No source is recorded for this tool's methods.

Read by AI-assisted sessions. No person has checked these readings.

## How it is checked

**Level:** Checked against a reference, the lowest of its 2 methods.

**Checked against:** Progressive multiple alignment of DNA: 12 published, hashed cases and 7 refusals from an independent implementation of the same method written before the engine (Python, standard library, exact fractions for the guide tree): the alignment letter for letter, the order the sequences were joined and each step's score, exact. The cases where a right answer exists are exact: two sequences give the pairwise aligner's global alignment, identical sequences and a set with no insertions or deletions give a stack with no gap in the order given, and a duplicate is placed as its twin. Elsewhere there is no correct multiple alignment to check against: MAFFT 7.505 was run offline on four of the sets and both alignments scored under one sum-of-pairs objective, recorded as measurements, never as a pass mark (the two scored the same on two sets and this tool's higher on two, which is not a measure of which is right); one set gives a different alignment in another order, recorded as such (7 November 2026). Progressive multiple alignment of proteins: 16 published, hashed cases and 7 refusals from an independent implementation of the same method written before the engine (Python, standard library, exact fractions for the guide tree, BLOSUM62 typed from NCBI's file with the file's hash asserted): the alignment letter for letter, the order the proteins were joined and each step's score, exact. The cases where a right answer exists are exact: two proteins give the pairwise protein aligner's optimum with end gaps charged, identical proteins and a set with substitutions only give a stack with no gap in the order given, and a duplicate is placed as its twin; a protein too short for a word of three, or with none of the twenty standard amino acids, joins last, and B, Z, X, U, O, J and \* score 0. Elsewhere there is no correct multiple alignment to check against: MAFFT 7.505 (--amino) was run offline on four of the sets and both alignments scored under one sum-of-pairs objective, recorded as measurements, never as a pass mark (the two scored the same on three sets and MAFFT's higher on one, which is not a measure of which is right); one set gives a different alignment in another order, recorded as such (7 November 2026). Unlike the pairwise protein aligner, which refuses U, O and an internal \*, a set accepts them and scores them 0.

**Cases:** Progressive multiple alignment of DNA: No case set is linked to this version. Progressive multiple alignment of proteins: No case set is linked to this version.

**Worked example:** Not a published example. Inputs chosen by us; expected values computed by MAFFT v7.505 (Debian mafft 7.505-1), driven from Python 3.13.16.

**Hostile inputs:** Sent 58 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:** Progressive multiple alignment of DNA: Not recorded. Its absence does not mean everything was checked. Progressive multiple alignment of proteins: Not recorded. Its absence does not mean everything was checked.

No independent scientist has yet reviewed this.

### What this project's records still lack

5 things

- A case worked by hand from the source's equation for both methods.
- The equation for both methods.
- The constants with their sources for both methods.
- A case set linked to this version for both methods.
- A record of what was not checked for both methods.

### Cite a number from this tool

the 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.

```cite
seq_align_multiple, 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-multiple. There is no result to quote; this line identifies the call and its receipt.
```

### Changes to its methods

0 changes

No change is logged for these method versions.
