py_hla_match.matching.allele_match

py_hla_match.matching.allele_match(hla1, hla2)[source]

Compares two HLA alleles and returns a MatchLevel

Parameters:
  • hla1 (HLA) – First HLA allele object

  • hla2 (HLA) – Second HLA allele object

Returns:

MatchLevel enum value indicating position of matches and mismatch (cf. HLA nomenclature)

Raises:
Return type:

AlleleMatchLevel