Determines your HLA genotype (Human Leukocyte Antigen) from WGS data — the immune system genes that control tissue compatibility and drug hypersensitivity reactions.
HLA alleles determine transplant compatibility, predisposition to autoimmune diseases, and severe adverse drug reactions (e.g., HLA-B57:01 and abacavir, HLA-B58:01 and allopurinol).
quay.io/biocontainers/t1k:1.0.9--h5ca1c30_0
t1k_idx/hlaidx_grch38)SAMPLE=your_sample
GENOME_DIR=/path/to/your/data
mkdir -p ${GENOME_DIR}/${SAMPLE}/hla
docker run --rm \
--cpus 4 --memory 8g \
-v ${GENOME_DIR}:/genome \
quay.io/biocontainers/t1k:1.0.9--h5ca1c30_0 \
run-t1k \
-b /genome/${SAMPLE}/aligned/${SAMPLE}_sorted.bam \
-f /genome/t1k_idx/hlaidx_grch38_rna_seq.fa \
--preset hla \
-o /genome/${SAMPLE}/hla/${SAMPLE}_t1k \
-t 4
${SAMPLE}_t1k_genotype.tsv — HLA allele calls per locus (A, B, C, DRB1, DQB1, etc.)For a second opinion or when T1K results are ambiguous:
docker run --rm \
--cpus 8 --memory 16g \
-v ${GENOME_DIR}:/genome \
jiachenzdocker/hla-la:latest \
HLA-LA.pl \
--BAM /genome/${SAMPLE}/aligned/${SAMPLE}_sorted.bam \
--graph PRG_MHC_GRCh38_withIMGT \
--sampleID ${SAMPLE} \
--maxThreads 8 \
--workingDir /genome/${SAMPLE}/hla_la
| Allele | Drug | Risk | |—|—|—| | HLA-B57:01 | Abacavir (HIV) | Severe hypersensitivity reaction | | HLA-B58:01 | Allopurinol (gout) | Stevens-Johnson syndrome / TEN | | HLA-B15:02 | Carbamazepine | Stevens-Johnson syndrome (SE Asian) | | HLA-A31:01 | Carbamazepine | Drug reaction with eosinophilia | | HLA-B*57:01 | Flucloxacillin | Drug-induced liver injury |
t1k-build.pl step