The reference panel (VCF) was used directly as the phasing reference for pseudo-array genotype data (VCF) and was additionally indexed using Minimac3 to produce the required m3vcf files for imputation. Phasing was performed prior to imputation using SHAPEIT5, with intermediate results stored in BCF format. Imputation was then carried out using Minimac4, generating the final imputed VCF outputs.
This script extracts a reference panel, phases pseudo SNP array data using SHAPEIT5, and prepares the reference for imputation by indexing it in Minimac3 format.
Genotype imputation is performed using Minimac4. The phased BCF file is converted and indexed, imputed against a reference panel, and temporary files are removed upon completion.