nf-hlamajority: an automated Nextflow pipeline for consensus HLA genotyping in neoantigen prediction workflows
MOTIVATION: Neoantigen prediction pipelines use bulk DNA and RNA sequencing data to identify protein-altering variants, translate them in silico into peptides, and predict peptide immunogenicity. Human Leukocyte Antigen (HLA) genotyping is a critical step for neoantigen prediction. Claeys et al. found that when used on whole-exome sequencing (WES) data, a majority voting approach improved HLA typing accuracy over individual tools. Currently, no end-to-end pipeline exists for this approach, limiting the use of consensus HLA genotyping in neoantigen prediction workflows. RESULTS: We developed nf-hlamajority, a Nextflow pipeline that performs HLA Class I genotyping on DNA sequencing data using Optitype, Polysolver, HLA*LA, and Kourami. For each HLA gene, the pipeline assigns the HLA genotype called by the majority of tools. Using PCR-derived genotypes as a gold standard, we benchmarked nf-hlamajority using WES and whole-genome sequencing (WGS) data from the 1000 Genomes Project, and NCI-60 cell line WES data. On the 1000 Genomes WES data, nf-hlamajority achieved an accuracy of 98.9%, 99.0% and 99.1% on the HLA-A, B and C genes, respectively, consistent with prior reports demonstrating the benefit of the majority-voting approach. Benchmarking on WGS data showed comparable performance to the best-performing individual tool. To make this method available as part of an existing neoantigen prediction pipeline, we integrated nf-hlamajority with Landscape of Effective Neoantigens Software (LENS). AVAILABILITY AND IMPLEMENTATION: nf-hlamajority is published under an open source MIT license and is available at https://github.com/kevinpryan/nf-hlamajority (https://doi.org/10.5281/zenodo.19925526). Code to generate figures is available at https://github.com/kevinpryan/hlamajority-appnote/releases/tag/v1.3.0. SUPPLEMENTARY MATERIAL: Supplementary material is available at Bioinformatics online.
Authors
- Laura R. Barkley (ORCID: https://orcid.org/0000-0001-8026-5284)
- Kevin Ryan (ORCID: https://orcid.org/0000-0002-8675-0202)
- Stephen Smith (ORCID: https://orcid.org/0000-0003-0464-5087)
- Pilib Ó Broin
Institutions
- Ollscoil na Gaillimhe – University of Galway (IE)
- Genomics Medicine (Ireland) (IE)
- COPE Galway (IE)
Publication Details
- Journal
- Bioinformatics
- Published
- 2026-11-30
- DOI
- https://doi.org/10.1093/bioinformatics/btag891
- Primary Topic
- vaccines and immunoinformatics approaches
- Type
- article
- Field-Weighted Citation Impact
- 0.00