Article view

HLAfreq: Download and combine HLA allele frequency data

By David A. Wells, Michael McAuley

Article information

Publication
Published 3 May 2026
Institutions at publication
Oxford Biotherapeutics (United Kingdom); University of Helsinki; Technological University Dublin
5 Citations OpenAlex, 4 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

Human leukocyte antigen (HLA) genes encode cell-surface proteins which play an important role in immunity. Since different HLA alleles enable different immune responses, the population frequency of HLA alleles is often considered when designing vaccines (Gulukota & DeLisi, 1996). Specific HLA alleles have been linked to autoimmune disease (Simmonds & Gough, 2007) and associated with adverse drug reactions (Fan et al., 2017). Further, the success of solid organ and stem cell transplants is related to HLA matching between donor and recipient (Fürst et al., 2019;Morishima et al., 2002). We present HLAfreq, a Python package which can be used to download, combine and analyse multiple HLA allele frequency datasets. Statement of needThe Allele Frequency Net Database is a publicly available repository for human immune gene frequency data from across the world (Gonzalez-Galarza et al., 2020). However, downloading data from a large number of studies is currently manual and slow. After downloading multiple studies, combining them is hindered by different allele resolutions, missing alleles, and incomplete studies.HLAfreq provides functions to identify incomplete studies, handle missing alleles, harmonise allele resolution, calculate population coverage, and estimate allele frequencies and uncertainty using a Bayesian framework. Allele frequency plots can be generated to identify anomalous datasets and interesting diversity in a set of populations. The target audience is researchers interested in HLA frequencies, especially in populations not well covered by a single study, e.g.across multiple countries. To get started, see the guide and examples at github.com/BarinthusBio/HLAfreq. Methods Statistical methodsHLAfreq uses a Bayesian framework to estimate allele frequency statistics from combined datasets for a specific population. The user can select from two statistical models. The simpler 'default model' gives point estimates for allele frequencies. The more sophisticated 'compound model' gives both point estimates and credible intervals.

Citations per year

Citations per year
YearCitations
2026 1

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 5 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
Finland1
Ireland1
United Kingdom1