---
id: "ensembl_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["science"]
langs: ["common"]
quality: 100
url: "http://registry.apicrafter.io/datatype/ensembl_id"
---

# Ensembl stable ID (gene, transcript or protein) (`ensembl_id`)

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

Stable identifier that the Ensembl genome database gives to a gene, transcript or protein of a vertebrate genome. It is ENS, a three-letter species code (none for human, MUS for mouse, RNO for rat, DAR for zebrafish), a feature letter (G for gene, T for transcript, P for protein) and eleven digits. A version suffix such as .8 may follow; it grows when the feature changes. Ensembl Genomes (plants, fungi, protists, bacteria) and some model organisms, such as fly and yeast, use other identifiers, which the regexp does not cover.

- Personal data (PII): no
- Categories: Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^ENS(?:[A-Z]{3})?[GTP]\d{11}(?:\.\d+)?$
```

## Examples

- `ENSG00000139618` — Human gene BRCA2
- `ENST00000380152.8` — Human transcript BRCA2-201, with its version
- `ENSP00000369497` — Human protein encoded by BRCA2-201
- `ENSMUSG00000017167` — Mouse gene Cntnap1
- `ENSG0000013961` (invalid example) — Ten digits instead of eleven
- `ENSX00000139618` (invalid example) — X is not a feature letter

## Mappings

- autotype: `ensembl`
- bioregistry: `ensembl`

## Supported by tools

- `autotype`

## Translations

- ru: Стабильный идентификатор Ensembl: Идентификатор гена, транскрипта или белка позвоночных в базе Ensembl: ENS, код вида, буква типа объекта и 11 цифр.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Ensembl_genome_database_project>
- wikidata: <https://www.wikidata.org/wiki/Property:P594>
- wikidata: <https://www.wikidata.org/wiki/Property:P704>
- wikidata: <https://www.wikidata.org/wiki/Property:P705>
- doc: <https://www.ensembl.org/info/genome/stable_ids/index.html>
- other: <https://github.com/congy/AutoType/blob/master/data_release/ensembl.txt>

## Quality

Score 100/100.

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