HLA Typing
Last updated
Was this helpful?
Last updated
Was this helpful?
DRAGEN includes a dedicated human leukocyte antigen (HLA) genotyper for calling HLA genes at two-field resolution (a.k.a. four-digit resolution). At this resolution, DRAGEN HLA genotyper is able to discern and report HLA alleles based on their protein sequences (see Nomenclature for factors of the HLA systemÂą). For the list of supported HLA genes see .
HLA typing is enabled by setting the --enable-hla
flag to true
. For TSO500-solid or TSO500-liquid runs, HLA typing should be enabled instead through the following batch options: --tso500-solid-hla=true
and --tso500-liquid-hla=true
respectively.NOTE: The TSO500 panel covers only the Class I HLA-A, -B, and -C genes and hence HLA calls are limited to these genes only.
The HLA Caller primarily executes the following four steps after the initial DRAGEN map-align has completed:
Extract reads mapped to the HLA regions. The human reference version is auto-detected during this step. The human reference builds hg19, hs37d5, and GRCh38 are fully supported, CHM13 build is enabled but not supported.
Align the extracted HLA reads to a reference set of HLA alleles, obtained from IMGT (v3.56.0), using the DRAGEN map-align processor.
Filter out HLA-specific alignments with sub-maximal alignment scores, and optimize the read distribution using Expectation-Maximization (EM).
Select the most likely genotype for each HLA locus based on the posterior probabilities obtained from the EM algorithm. A homozygous call is reported if the abundance (posterior probability) of an allele is found to be 85% or higher.
The reference directory that is supplied at command-line with --ref-dir
must contain anchored_hla
, a specific subdirectory with HLA-specific reference files.NOTE: The deafult DRAGEN reference directories already contains the recommended anchored_hla
subdirectory.
An HLA-specific reference subdirectory can be built by executing
This command will create anchored_hla
as a subdirectory of the target {REF-DIR}
supplied as an argument to --output-directory
as above.
The HLA-specific reference subdirectory can be built at the same time as the primary reference construction. An example command-line for this mode is
An HLA resource file, HLA_resource.v3.fasta.gz
, is packaged with DRAGEN. It is located at <INSTALL_PATH>/resources/hla/HLA_resource.v3.fasta.gz
An HLA allele reference FASTA file can be used as input to the hash-table building option --ht-hla-reference
.
Note: Using custom HLA reference files to generate the HLA-specific reference subdirectory anchored_hla
is not recommended, as accuracy cannot be guaranteed.
Custom input FASTA files (which can be zipped or unzipped) must contain only HLA allele sequences, and all allele names must adhere to the HLA star-allele nomenclatureÂą, where the first character of each allele name indicates the HLA locus, e.g. A*02:01:01:01. Allele names extracted from such a custom input file start at the first character of the allele name (to be preceded by character '>') and end at the last character of the name or until the first delimiter character '-' is reached.
The following is an illustration of a valid HLA reference input file to option --ht-hla-reference
:
Custom HLA reference files might require customized memory allocation, which can be specified with an argument to the command-line option --ht-hla-ext-table-alloc
.
The HLA component has no additional user-settable command-line options.
Note: this HLA component replaces prior workflows. See the appropriate guide for the DRAGEN software version being used in order to determine valid parameters.
The HLA Caller requires the DRAGEN mapper-aligner to be enabled (enabled via option --enable-map-align=true
, or through TSO500-batch options).
The HLA Caller generates a tab-delimited output file, where each row is a gene and columns contain information regarding that gene.
The genotype output file is <prefix>.hla.tsv
, and it is located in the user-specified output directory. In tumor-only mode the output is stored to <prefix>.hla.tumor.tsv
file. In tumor-normal mode, two output genotype files are generated from tumor and normal samples: <prefix>.hla.tumor.tsv
and <prefix>.hla.tsv
.
Following is an example output file produced by DRAGEN HLA typing (showing only 5 genes):
A
2
A*01:01
334
0.513178
A*02:01
318
0.486822
NA
B
2
B*35:41
294
0.509434
B*37:01
284
0.490566
NA
C
2
C*06:02
359
0.509091
C*04:01
349
0.490909
NA
DMA
2
DMA*01:01
55
0.816092
DMA*01:02
35
0.183908
Allele2:LowSupportingReads
DMB
1
DMB*01:01
1159
0.998608
NA
NA
NA
NA
The columns are explained below
gene - lists the gene name
num_allele - Number of alleles found for a given gene, this could be 0 (no result), 1 (homozygous call), or 2 (heterozygous call)
allele_1 - the two field resolution allele found with highest abundance. NOTE: Some genes have only one field resolution alleles in the reference database and may be reported as the best match
reads_supporting_allele_1 - The number of reads supporting allele_1
EM_posterior_allele_1 - The posterior probability or abundance estimate reported by the EM algorithm for allele_1
allele_2 - the two field resolution allele found with second highest abundance. If allele_1 has abundance of 85% or higher a homozygous call is made and allele_2 is reported to be NA
. NOTE: Some genes have only one field resolution alleles in the reference database and may be reported as the best match
reads_supporting_allele_2 - The number of reads supporting allele_2 or NA if a homozygous call is made
EM_posterior_allele_2 - The posterior probability or abundance estimate reported by the EM algorithm for allele_2 or NA if a homozygous call is made
Notes - This column is used to display annotations or QC warnings such as LowSupportingReads when supporting reads are below 50. If NA, no annotations or warnings apply
The HLA Caller generates an additional metrics file.
<prefix>.hla_metrics.csv
—Contains the number of reads supporting each allele result (individual reads may support multiple alleles), and the total number of HLA reads analyzed.
Internal checks for sufficient coverage at each HLA locus will trigger a warning message when fewer than 50 reads support any given allele call, or when fewer than 300 HLA reads are detected overall. In both settings, an allele call will still be attempted, but the results may be unreliable.
NOTE: The HLA TSV output format has been updated with DRAGEN v4.4 release, please see the appropriate guide for the DRAGEN software version being used for information on older versions. To report HLA output in older format users may use the option --hla-enable-legacy-output-format=true. However, this feature is marked to be deprecated in future and users are suggested to adopt the new HLA reporting format.
No HLA genotype will be returned with single-end DNA read inputs.
By default, DRAGEN only genotypes HLA alleles that have sequence representation in IMGT database and hence included the HLA anchored reference. Novel genotypes discovery is not supported.
The HLA Caller accepts standard input files in FASTQ or BAM format.
The following example command line uses FASTQ file inputs.
The following example command line uses BAM file inputs (with map-align enabled).
The following example command line uses tumor-normal paired file inputs from FASTQ.
The following example command line uses tumor-normal paired file inputs from BAM.
The following example command line activates HLA typing in a TSO500-solid run from FASTQ input. A TSO500-compatible reference_directory is one which uses the same reference genome as in TSO i.e. hg19.
The following example command line activates HLA typing in a TSO500-liquid run from FASTQ input. A TSO500-compatible reference_directory is one which uses the same reference genome as in TSO i.e. hg19.
The following example command line performs HLA typing on TSO500 BAM input. A TSO500-compatible reference_directory is one which uses the same reference genome as in TSO i.e. hg19.
ÂąMarsh SG, et al. Nomenclature for factors of the HLA system, 2010. Tissue Antigens. 2010 75:291-455.
A
Class I
Supported in v4.3
Yes
B
Class I
Supported in v4.3
Yes
C
Class I
Supported in v4.3
Yes
DMA
Class II
New in v4.4
No
DMB
Class II
New in v4.4
No
DOA
Class II
New in v4.4
No
DOB
Class II
New in v4.4
No
DPA1
Class II
New in v4.4
No
DPA2
Class II
New in v4.4
No
DPB1
Class II
New in v4.4
No
DPB2
Class II
New in v4.4
No
DQA1
Class II
Supported in v4.3
No
DQA2
Class II
New in v4.4
No
DQB1
Class II
Supported in v4.3
No
DQB2
Class II
New in v4.4
No
DRA
Class II
New in v4.4
No
DRB1
Class II
Supported in v4.3
No
DRB3
Class II
New in v4.4
No
DRB4
Class II
New in v4.4
No
DRB5
Class II
New in v4.4
No
E
Class I minor
New in v4.4
No
F
Class I minor
New in v4.4
No
G
Class I minor
New in v4.4
No
H
Class I pseudogene
New in v4.4
No
HFE
Class I like - haemochromatosis
New in v4.4
No
J
Class I pseudogene
New in v4.4
No
K
Class I pseudogene
New in v4.4
No
L
Class I pseudogene
New in v4.4
No
MICA
HLA class I related
New in v4.4
No
MICB
HLA class I related
New in v4.4
No
N
Class I pseudogene
New in v4.4
No
P
Class I pseudogene
New in v4.4
No
R
Class I pseudogene
New in v4.4
No
S
Class I pseudogene
New in v4.4
No
T
Class I pseudogene
New in v4.4
No
TAP1
HLA related - Antigen processing
New in v4.4
No
TAP2
HLA related - Antigen processing
New in v4.4
No
U
Class I pseudogene
New in v4.4
No
V
Class I pseudogene
New in v4.4
No
W
Class I pseudogene
New in v4.4
No
Y
Class I pseudogene
New in v4.4
No
This file is used by default when building the HLA-specific hash-table as above, see .
HLA results are also reported in the targeted caller output file, <output-file-prefix>.targeted.json
. The targeted caller output file reports combined results from all the targeted callers into a single . Following is an example of HLA caller output in the targeted caller JSON file (showing only 5 genes):
Map-align must be enabled for HLA (see ). As of DRAGEN v4.4, tumor-normal paired file inputs from BAM are now supported for HLA calling.