py_hla_match.external.query_dpb1_tce
- py_hla_match.external.query_dpb1_tce(patient_dpb1, patient_dpb2, donor_dpb1, donor_dpb2, version='3.0', timeout=10, config=None)[source]
Query the EBI DPB1 TCE API for T-Cell Epitope matching.
Intended for research workflows.
- Parameters:
patient_dpb1 (str) – Patient’s first DPB1 allele (e.g. “01:01”)
patient_dpb2 (str) – Patient’s second DPB1 allele
donor_dpb1 (str) – Donor’s first DPB1 allele
donor_dpb2 (str) – Donor’s second DPB1 allele
version (str) – API version - “2.0”, “2.1”, or “3.0”
timeout (int) – API request timeout in seconds
config (DPB1TCEConfig | None) – Configuration object (default if None)
- Returns:
DPB1Result object containing status and raw prediction string
- Return type: