Sequence GC content
seq_gc_content
Works out the GC percent of a DNA or RNA sequence.
- Runs
- Built, not hosted
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. It is the same calculation as Drybench Sequence, 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.
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.
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 units2 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.
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.
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_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 methods0 changes
No change is logged for these method versions.