---
id: "codon"
kind: "datatype"
status: "draft"
is_pii: false
name: "Codon (nucleotide triplet)"
regexp: "^(?:[ACGT]{3}|[ACGU]{3})$"
categories: ["science"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/codon"
---

# Codon (nucleotide triplet) (`codon`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Three nucleotides that code for one amino acid or stop the translation of a gene: three of the letters A, C, G and T in DNA notation (GCG, ATG, TAA) or A, C, G and U in RNA notation (AUG, UAA). There are 64 codons; ATG starts a protein, and TAA, TAG and TGA are the stop codons of the standard code. Codon usage tables give, for each gene or genome, every codon with its amino acid and its count or fraction; mutation tables give the reference and the changed codon.

- Parent datatype: [`category`](https://registry.apicrafter.io/datatype/category.md)
- Personal data (PII): no
- Categories: Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:[ACGT]{3}|[ACGU]{3})$
```

## Examples

- `GCG` — Alanine
- `ATG` — Methionine, the start codon
- `UAA` — A stop codon in RNA notation
- `GCX` (invalid example) — X is not a nucleotide
- `ATGC` (invalid example) — Four nucleotides

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `codonbyname` (field, `common/science.yaml`)
- `codonvalue` (data, `common/science.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- es: Codón (triplete de nucleótidos)
- ru: Кодон (триплет нуклеотидов)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/DNA_and_RNA_codon_tables>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/codon.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/codon.yaml>
