# How to run GWAS on imputed HLA alleles using Regenie

You can run association testing on imputed HLA alleles with REGENIE using the modifiable REGENIE DF12 pipeline, accessible through the Pipelines tool in the Sandbox.

## Required changes to inputs

The workflow inputs contain a value "regenie.sub\_step2.bgenlist", which determines which genotype information to use for running REGENIE, i.e. which variants to run the association analysis on. By changing this to the DF12 HLA allele data, "LIBRARY\_RED/finngen\_R12/hla\_1.0/bgen/hla\_chunks", the pipeline will run the association analysis on imputed HLA alleles.

Apart from that, proceed according to the instructions on [how to run GWAS using REGENIE](/working-in-the-sandbox/running-analyses-in-sandbox/how-to-run-genome-wide-association-studies-gwas/how-to-run-gwas-using-regenie.md) to prepare the required inputs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finngen.fi/working-in-the-sandbox/running-analyses-in-sandbox/how-to-run-genome-wide-association-studies-gwas/how-to-run-gwas-on-imputed-hla-alleles-using-regenie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
