No retraction, correction or concern found when last checked on Oct 24, 2026.
HLA*LA—HLA typing from linearly projected graph alignments
Alexander T Dilthey, Alexander J Mentzer, Raphael Carapito and 8 more
Bioinformatics · 2019 · CC BY
doi:10.1093/bioinformatics/btz235
Abstract
Summary. HLA*LA implements a new graph alignment model for human leukocyte antigen (HLA) type inference, based on the projection of linear alignments onto a variation graph. It enables accurate HLA type inference from whole-genome (99% accuracy) and whole-exome (93% accuracy) Illumina data; from long-read Oxford Nanopore and Pacific Biosciences data (98% accuracy for whole-genome and targeted data) and from genome assemblies. Computational requirements for a typical sample vary between 0.7 and 14 CPU hours per sample.
Availability and implementation. HLA*LA is implemented in C++ and Perl and freely available as a bioconda package or from https://github.com/DiltheyLab/HLA-LA (GPL v3).
Supplementary information. Supplementary data are available at Bioinformatics online.
Full text
From PubMed Central, U.S. National Library of Medicine, as current on Oct 24, 2026. Paragraph numbers are ours, so an answer can point at one.
1 Introduction
Genetic variation at the human leukocyte antigen (HLA) loci is associated with many important phenotypes and biological conditions, including autoimmune and infectious disease risk, transplant rejection, and the repertoire of immune-presented peptides. With the growing availability of whole-exome and whole-genome sequencing (WGS) data, the ability to accurately determine the allelic state of the HLA genes (‘HLA typing’) from these data types is becoming increasingly important. The accuracy of standard sequencing data analysis methods in the HLA region is limited by hyperpolymorphism and reference divergence. Specialized HLA analysis methods, however, have been developed; these typically rely on variation-aware alignment approaches, e.g. genome graphs or collections of linear reference sequences. When applied to high-coverage WGS data, the accuracy of these methods can approach that of gold-standard HLA typing assays like sequence-based typing (SBT). HLA type inference from exome or low-coverage WGS data, however, remains more challenging, and most tools do not support long-read data.
We present HLA*LA (‘linear alignments’), a graph-based method with high accuracy on exome and low-coverage WGS data, full support for assembled and unassembled long-read data and a new projection-based approach to graph alignment. Briefly, the alignment process starts with the identification of linear alignments between the input reads and the reference haplotypes that the graph was constructed from; these are projected onto the graph, an approach also used by, and optimized in a stepwise process specific to Population Reference Graphs (PRGs; ). The intuition behind this is that the (projected) original linear alignment will often be a close approximation to the best graph alignment, except for reads that switch between divergent reference haplotypes. In HLA*LA, these are identified heuristically and trigger a switch into full graph alignment mode. Its hybrid approach enables HLA*LA to often avoid—potentially costly—full graph alignment, to leverage the performance of highly optimized linear alignment algorithms and to carry out graph alignment for both short and long reads in a unified framework.
2 Materials and methods
HLA*LA employs a PRG of 13 491 sequences, representing the eight GRCh38 MHC haplotypes and the IMGT exonic and genomic sequences. Linear alignments are obtained by aligning input reads against a modified reference genome (GRCh38 plus the eight MHC haplotypes and IMGT genomic sequences) with BWA-MEM.
Alignments from regions covered by the PRG are projected onto the graph and undergo a three-stage optimization process that draws on the fact that PRGs have, like multiple sequence alignments, a well-defined column structure (‘levels’). We can distinguish between two types of alignment errors: bases aligned to an edge at the wrong level of the graph or bases that are aligned to the right level but the wrong edge. During the first step of the optimization process (‘inspection’), we heuristically identify and remove from the alignment bases which might be aligned to the wrong level of the graph, based on an examination of the alignment’s local gap structure. During the second step (‘polishing’), we efficiently find the highest-scoring graph traversal within the existing level structure of the remaining alignment using dynamic programming. During a final step (‘extension’), the alignment is extended to the complete length of the read in full graph alignment mode; the computational advantage of HLA*LA derives mainly from the fact that this step can be skipped for most reads. For long reads with increased INDEL rates, gaps in the projected alignment are not indicative of potential misalignments; we consequently omit the base removal (during inspection) and re-integration (alignment extension) steps. A full description of alignment projection and optimization for short and long reads is given in Supplementary Note S1.
For HLA type inference, we employ the likelihood model of HLA*PRG. Briefly, at each locus, we maximize over all pairs of possible HLA alleles. For long reads, we increase INDEL rates in the underlying alignment likelihood (Supplementary Note S1).
The complete inference approach of HLA*LA is illustrated in Supplementary Figure S1.
HLA typing of assemblies, which can be used if raw long reads are not available or as a metric of assembly quality, is based on a projection of the GRCh38 MHC reference haplotype annotations onto the assembly. Briefly, MHC-overlapping contigs are identified with nucmer. For each identified contig and each reference haplotype, a semi-global alignment is computed heuristically (see below); the annotations of the haplotype underlying the highest-scoring alignment are projected onto the contig; HLA gene and exon sequences are extracted based on the projected coordinates. HLA typing is carried out by IMGT database matching (minimum edit distance). The global alignment heuristic uses BWA-MEM for the identification of local alignments (‘diagonals’) between the input sequences; dynamic programming is used to identify the highest-scoring traversal of the global alignment matrix limited to the identified diagonals connected with horizontal or vertical jumps. This approach accounts for different MHC haplotype structures and ensures that each gene is used only once per contig.
3 Results
We carry out three experiments (Table 1) to assess the performance of HLA*LA. On high-coverage Illumina WGS data, HLA*LA achieves a performance of 99.4% averaged over the six classical HLA genes. This is identical to the performance of Kourami and HLA*PRG. xHLA achieves an accuracy of 100%, but does not produce calls for HLA-DQA1. The performance of HLA*LA under reduced coverage (15×) is relatively stable (90%) and comparable to that of xHLA (91%), where xHLA has higher performance on HLA class I (95% compared to 87%), and HLA*LA has higher performance on HLA class II (94% compared to 84%). Kourami is less stable under reduced coverage (average accuracy 69%). On whole-exome Illumina sequencing data, HLA*LA outperforms HLA*PRG (93% accuracy compared to 89%) and Kourami at matched call rates (95.3% at 88% call rate compared to 94.6% accuracy at 83% call rate). The overall accuracy of xHLA is 95%, with HLA-DQA1 remaining uncalled. On whole-genome and targeted PacBio and Nanopore sequencing data, HLA*LA achieves an average accuracy of 98%. Of note, the majority (2034 alleles) of the long-read validation data consists of highly diverse South African samples. HLA*PRG, Kourami and xHLA do not support long-read data. Complete validation results by cohort, a description of the validation cohorts and accessions, and truth HLA types are given in Supplementary Table S1, Supplementary Note S2 and Supplementary Table S2. Computational requirements depend on sample type and coverage (0.65 CPU hours on average for exome samples; between 2.9 and 14 CPU hours for a typical WGS sample; Supplementary Table S3). Assembly typing was successfully applied to assess diploid MHC assembly quality and phasing accuracy in two recent de novo assembly projects.
4 Conclusion
In summary, HLA*LA improves upon the accuracy of its predecessor HLA*PRG, while being 3–10 times faster and extending HLA typing functionality to long reads and assemblies. HLA*LA is freely available from GitHub and as a bioconda package. Generalization of projection-based graph alignment beyond the HLA is a topic for future research.
References 20
- 1.
1000 Genomes Project Consortium et al (2012 ) An integrated map of genetic variation from 1,092 human genomes. Nature, 491, 56–65.
Not in our library10.1038/nature11632
- 2.
Bai Y. et al (2014 ) Inference of high resolution HLA types using genome-wide RNA or DNA sequencing reads. BMC Genomics, 15, 325.
Not in our library10.1186/1471-2164-15-325
- 3.
Carapito R. et al (2016 ) Matching for the nonconventional MHC-I MICA gene significantly reduces the incidence of acute and chronic GVHD. Blood, 128, 1979–1986.
Not in our library10.1182/blood-2016-05-719070
- 4.
Delcher A.L. et al (2002 ) Fast algorithms for large-scale genome alignment and comparison. Nucleic Acids Res., 30, 2478–2483.
Not in our library10.1093/nar/30.11.2478
- 5.
Dilthey A. et al (2015 ) Improved genome inference in the MHC using a population reference graph. Nat. Genet., 47, 682–688.
Not in our library10.1038/ng.3257
- 6.
Dilthey A.T. et al (2016 ) High-accuracy HLA type inference from whole-genome sequencing data using population reference graphs. PLoS Comput. Biol., 12, e1005151.
Not in our library10.1371/journal.pcbi.1005151
- 7.
Eberle M.A. et al (2017 ) A reference data set of 5.4 million phased human variants validated by genetic inheritance from sequencing a three-generation 17-member pedigree. Genome Res., 27, 157–164.
Not in our library10.1101/gr.210500.116
- 8.
Gruning B. et al (2018 ) Bioconda: sustainable and comprehensive software distribution for the life sciences. Nat. Methods, 15, 475–476.
Not in our library10.1038/s41592-018-0046-7
- 9.
Huang Y. et al (2015 ) HLAreporter: a tool for HLA typing from next generation sequencing data. Genome Med., 7, 25.
Not in our library10.1186/s13073-015-0145-3
- 10.
International HapMap, C. (2005 ) A haplotype map of the human genome. Nature, 437, 1299–1320.
Not in our library10.1038/nature04226
- 11.
- 12.
Koren S. et al (2018 ) De novo assembly of haplotype-resolved genomes with trio binning. Nat. Biotechnol., 36, 1174–1182.
Not in our library10.1038/nbt.4277
- 13.
Lee H., Kourami K.C. (2018 ) Graph-guided assembly for novel human leukocyte antigen allele discovery. Genome Biol., 19, 16.
Not in our library10.1186/s13059-018-1388-2
- 14.
Li H. (2013 ) Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM. https://arxiv.org/abs/1303.3997.
Not in our library
- 15.
- 16.
- 17.
Steinberg K.M. et al (2016 ) High-quality assembly of an individual of yoruban descent. https://doi.org/10.1101/067447.
Not in our library
- 18.
Trowsdale J., Knight J.C. (2013 ) Major histocompatibility complex genomics and human disease. Annu. Rev. Genomics Hum. Genet., 14, 301–323.
Not in our library10.1146/annurev-genom-091212-153455
- 19.
Wittig M. et al (2015 ) Development of a high-resolution NGS-based HLA-typing and analysis pipeline. Nucleic Acids Res., 43, e70.
Not in our library10.1093/nar/gkv184
- 20.
Xie C. et al (2017 ) Fast and accurate HLA typing from short-read next-generation sequence data with xHLA. Proc. Natl. Acad. Sci. USA, 114, 8059–8064.
Not in our library10.1073/pnas.1707945114
Cited by papers we hold 5
- jMorp: Japanese Multi-Omics Reference Panel update report 2023 · 2023No notice
- Whole-genome sequencing reveals host factors underlying critical COVID-19 · 2022No notice
- Pangenome-based genome inference allows efficient and accurate genotyping across a wide spectrum of variant classes · 2022No notice
- The design and construction of reference pangenome graphs with minigraph · 2020No notice
- HiCanu: accurate assembly of segmental duplications, satellites, and allelic variants from high-fidelity long reads · 2020No notice
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.