Hi Chris,
I am trying to use Regenie 2.0 for GWAS analysis. One thing want to confirm with you. Regenie says we need to recode "male" to "female" so that male can be taken as diploid. However, I looks Plink1.9 already code male to "diploid", correct?
To include X chromosome genotypes in step 1 and/or step 2, males should be coded as diploid so that their genotypes are 0/2. This can be done in PLINK by setting the sex of all individuals to female before generating the genotype file.
Thanks.
Shicheng