This contains the code to reproduce results in the paper. It is split in 8 sections for ease. Users will need to adapt some of the code for their local clusters (most importantly the path to different files and folders), especially for analyses of the HLA alleles calling results (e.g. association studies).