py_hla_match.policy.AlleleMatchLevel
- class py_hla_match.policy.AlleleMatchLevel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
IntEnumFollowing hla nomenclature:
- NOT_ASSESSABLE (0):
Typing resolution insufficient
- DRB345_SUBLOCUS_MISMATCH (-3):
DRB3/4/5 region mismatch: - locus normalized to DRB345 - but underlying sub-loci differ (e.g. DRB3 vs DRB4/5 or DRBX)
- ANTIGEN_MISMATCH (-2):
Mismatch at the group code encoding antigen
- ALLELE_MISMATCH (-1):
Mismatch at the allele level encoding a specific allele
- ARD_MATCH (1):
ARD level match
cf.https://hla.alleles.org/nomenclature/naming.html
- ALLELE_MISMATCH = -1
- ANTIGEN_MISMATCH = -2
- ARD_MATCH = 1
- DRB345_SUBLOCUS_MISMATCH = -3
- NOT_ASSESSABLE = 0