check_typing
QC-check one HLA typing (all loci) against the pinned release: resolves every reported allele, flags unresolvable/outdated/locus-mismatched/null alleles, flags too-many/single/homozygous per locus, computes the B-leader (-21 M/T) and KIR-ligand (C1/C2/Bw4) profile, and DRB3/4/5 expected-vs-reported. Nomenclature and internal-consistency checking of the report, not clinical interpretation. typing: {"A": ["A01:01", "A02:01"], "B": [...], "DRB1": [...], ...} (any nomenclature era, G/P group names, A02:XX and two-field A02:01g included; NMDP MAC codes are flagged, not expanded; allele strings only, no patient identifiers).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typing | Yes | locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loci | Yes | Reported locus key -> one row per reported allele, in input order. | |
| valid | Yes | true when there are no error-severity issues. Gate on this before using the typing. | |
| counts | Yes | ||
| drb345 | Yes | DRB3/4/5 expected from DRB1 vs reported; null when DRB1 is not typed. | |
| issues | Yes | ||
| profile | Yes | ||
| release | Yes | IPD-IMGT/HLA release every verdict was computed against. | |
| attribution | No | Data attribution (IPD-IMGT/HLA, CC-BY-ND). |