See results.ipynb, including
- main figure.
- qq plot and false positive ratio in the null simulation.
- extended results of power.
- association testing when the causal SNP is not typed
- Clone this repository and install dependency with
pip install requirements.txt. Also download MIXSCORE from here tosoftware/folder, so themixscore_wrapperfunction in admix.py can find the mixscore executable program. - Prepare simulated admixed genotype. Download the simulated genotype with 1000G here and unzip it to
raw_genofolder. - Run the snakemake pipeline with
Snakefile. One may need to run the experiments in parallel to speed up.
- As an alternative to run the experiments, use our genotype simulation pipeline to simulate admixed individuals with real genotypes from 1000 Genomes project.