---
id: "pango_lineage"
kind: "datatype"
status: "draft"
is_pii: false
name: "Pango lineage of SARS-CoV-2"
regexp: "^(?:[AB]|[A-Z]{1,3}(?:\\.\\d+){1,4})$"
categories: ["medical", "science"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/pango_lineage"
---

# Pango lineage of SARS-CoV-2 (`pango_lineage`)

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

Name of a lineage of SARS-CoV-2 in the Pango nomenclature (Rambaut et al. 2020, cov-lineages.org): the root lineages A and B, then a letter prefix and up to three numbers separated by dots, a new alias prefix replacing every three levels (B.1.1.529 is Omicron, its child B.1.1.529.2 is called BA.2), and X with letters for recombinants (XBB, XBB.1.5). GISAID, Nextstrain and the national genomic surveillance tables give it in a pango_lineage or lineage column. WHO labels (Alpha, Delta) are sars_cov_2_variant_label; Nextstrain clades (20I, 21K) are another scheme.

- Personal data (PII): no
- Categories: Medical/pharma identifiers (medical), Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:[AB]|[A-Z]{1,3}(?:\.\d+){1,4})$
```

## Examples

- `B.1.1.7` — Alpha
- `B.1.617.2` — Delta
- `P.1` — Gamma (alias of B.1.1.28.1)
- `B.1.1.529` — Omicron (Africa Data Hub variants table)
- `XBB.1.5` — a recombinant lineage
- `P1` (invalid example) — Gamma written without the dot (Africa Data Hub variants table)
- `501Y.V2` (invalid example) — an early name of Beta (B.1.351), not Pango

## Metacrafter rules

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

- `pangolineagevalue` (data, `common/medical.yaml`)

## Supported by tools

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

## Translations

- ru: Линия Pango вируса SARS-CoV-2: Название линии SARS-CoV-2 по номенклатуре Pango, например B.1.1.7 (Альфа) или B.1.617.2 (Дельта).

## Sources

- doc: <https://cov-lineages.org/>
- doc: <https://github.com/cov-lineages/pango-designation>
- doc: <https://doi.org/10.1038/s41564-020-0770-5>

## Quality

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

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