Input files
We will simulate a phenotype and prepare all input files except the array of haplotype probabilities.
We simulate a phenotype that is driven by the CAST (“F”) allele at a random marker:
We write a file of covariates (just sex in this example):