---
id: "amino_acid"
kind: "datatype"
status: "draft"
is_pii: false
name: "Amino acid (three-letter code)"
regexp: "^(?:Ala|Arg|Asn|Asp|Cys|Gln|Glu|Gly|His|Ile|Leu|Lys|Met|Phe|Pro|Ser|Thr|Trp|Tyr|Val|Sec|Pyl|Asx|Glx|Xaa)$"
categories: ["science"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/amino_acid"
---

# Amino acid (three-letter code) (`amino_acid`)

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

One of the amino acids that the genetic code builds proteins from, written with the three-letter code of the IUPAC-IUB nomenclature: Ala, Arg, Asn, Asp, Cys, Gln, Glu, Gly, His, Ile, Leu, Lys, Met, Phe, Pro, Ser, Thr, Trp, Tyr and Val, with Sec (selenocysteine), Pyl (pyrrolysine), the ambiguity codes Asx and Glx and Xaa for an unknown residue. Codon usage tables, mutation lists and tables of residues of a protein have such a column (AmAcid, amino_acid, residue, aa); codon tables add Ter, Stop or End for the stop codons. The one-letter codes (A, R, N) and the full names (Alanine) are other ways to write the same thing; a sequence of residues is protein_sequence.

- 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`):

```
^(?:Ala|Arg|Asn|Asp|Cys|Gln|Glu|Gly|His|Ile|Leu|Lys|Met|Phe|Pro|Ser|Thr|Trp|Tyr|Val|Sec|Pyl|Asx|Glx|Xaa)$
```

## Examples

- `Arg` — Arginine
- `Leu` — Leucine
- `Gly`
- `Sec` — Selenocysteine
- `Abc` (invalid example) — Not an amino acid code

## Metacrafter rules

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

- `aminoacidbyname` (field, `common/science.yaml`)
- `aminoacidvalue` (data, `common/science.yaml`)

## Supported by tools

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

## Translations

- es: Aminoácido (código de tres letras)
- ru: Аминокислота (трёхбуквенный код)

## Sources

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

## Quality

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

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