hlafactor: a tool for multi-layer functional annotation of HLA variation.
Qijing Shen, Mathias Viard, Mary Carrington, Gavin Band, M Azim Ansari
Peter Medawar Building for Pathogen Research, Nuffield Department of Medicine, University of Oxford, OX1 3SY, Oxford, UK. · Basic Science Program, Frederick National Laboratory for Cancer Research, National Cancer Institute, Frederick, MD, USA.
Key points
From the paper's conclusion- We present hlafactor, a computational tool that brings together established HLA functional annotations within a single, standardised framework. Starting from two-field HLA genotype calls, whether imputed or molecularly typed, hlafactor assigns functional annotations from published reference datasets and applies established calculations to derive individual-level features. These include tapasin dependency scores, general and functional heterozygosity, allele-specific cell surface expression, NK cell-related polymorphisms (Bw4/Bw6, C1/C2, HLA-B -21 M/T), and class I/II supertype assignments. hlafactor also maps alleles to IMGT/HLA amino-acid alignments to generate residue-level genotypes. All outputs are formatted for direct use in downstream association analyses with existing software. Applied to 17,960 samples from the MalariaGEN consortium, each functional annotation module completed in under 15 seconds on a single CPU core, and preprocessing and quality control in just over four minutes, supporting its use in large cohort studies.
Abstract
MOTIVATION: The human leukocyte antigen (HLA) system is the most polymorphic region of the human genome and a major determinant of immune function and disease susceptibility. Ideally, analyses of HLA variation would capture multiple layers of information, from classical alleles and amino-acid residues to higher-level functional properties such as tapasin dependency, cell-surface expression, and NK cell ligand groups. However, while allele- and amino-acid-level data are now routinely available, the corresponding functional annotations remain scattered across publications and reference datasets, and no existing tool integrates them within a unified, reproducible framework. RESULTS: We present hlafactor, a computational tool that brings together established HLA functional annotations within a single, standardised framework. Starting from two-field HLA genotype calls, whether imputed or molecularly typed, hlafactor assigns functional annotations from published reference datasets and applies established calculations to derive individual-level features. These include tapasin dependency scores, general and functional heterozygosity, allele-specific cell surface expression, NK cell-related polymorphisms (Bw4/Bw6, C1/C2, HLA-B -21 M/T), and class I/II supertype assignments. hlafactor also maps alleles to IMGT/HLA amino-acid alignments to generate residue-level genotypes. All outputs are formatted for direct use in downstream association analyses with existing software. Applied to 17,960 samples from the MalariaGEN consortium, each functional annotation module completed in under 15 seconds on a single CPU core, and preprocessing and quality control in just over four minutes, supporting its use in large cohort studies. AVAILABILITY: hlafactor is implemented in C ++20 and is freely available at https://github.com/QiJingS/hlafactor and archived on Zenodo under DOI https://doi.org/10.5281/zenodo.20647440.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- HLAnte: A Python command-line interface for unified HLA genotype annotation with integrated pharmacogenomic, disease, and population evidence.Human immunology · 2026
- High-resolution HLA and MICA/MICB typing of the 1000 Genomes panel: a resource for precision medicine.bioRxiv : the preprint server for biology · 2026
- GERBase: an online tool for high-resolution HLA allele and haplotype frequencies and linkage disequilibrium analysis in a Brazilian population.Frontiers in genetics · 2026
- HLA-Resolve: Four-field HLA typing and MHC variant detection from long-read hybrid capturemedRxiv · 2026
- HLAfreq: Download and combine HLA allele frequency dataThe Journal of Open Source Software · 2026
- HLA‐F : A Non‐Classical Gene With Growing InterestHLA · 2026