# Sequence GC content

`seq_gc_content` · Runs: Built, not hosted

Works out the GC percent of a DNA or RNA sequence.

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
Sequence GC content (seq_gc_content), Drybench MCP server 1.0.0; seq_gc_content; https://www.drybench.com/mcp/tools/seq-gc-content
```

## What it is

GC percent of a DNA or RNA sequence. G, C, and S count as GC; A, T, U, and W count as AT or AU; other ambiguity codes, gaps, and non-base characters are excluded from the count and reported. Returns status withheld when no base is counted.

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**

- `sequence` (required): The DNA or RNA sequence: plain letters, FASTA (first record) or GenBank. Spaces, line breaks and position numbers are ignored. At most 1,000,000 letters.
- `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.

**A request and its answer**

Asked with

- `alphabet`: dna

It answered (computed)

- `percent`: 54.17 %
- `gc`: 65
- `counted`: 120
- `excluded`: 0
- `s`: 0
- `length`: 120

Computed by this tool when the page was built. The steps between are not recorded, so this is not a worked example. The reply carries more values than are shown here. One answer to one request, not a reference value.

**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

- `sequence` (required): The DNA or RNA sequence: plain letters, FASTA (first record) or GenBank. Spaces, line breaks and position numbers are ignored. At most 1,000,000 letters.
- `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.

## The calculation

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

No method record is behind this tool: it is an exact operation on its input.

## 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

**Hostile inputs:** Sent 19 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.

No independent scientist has yet reviewed this.

### 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_gc_content, server 1.0.0; no method record; receipt 3ac60846e42a/1fc990c57c3c; methods https://www.drybench.com/methods/sequence; page https://www.drybench.com/methods/tools/seq-gc-content. Quote this line with any number taken from this reply.
```

### Changes to its methods

0 changes

No change is logged for these method versions.
