This repository contains code for the ancestry stratified polygenic selection analyses from Elevated Genetic Risk for Multiple Sclerosis Originated in Steppe Pastoralist Populations.
If you reuse any of this code then please cite the paper:
Barrie, W.*, Yang, Y.*, Irving-Pease, E.K.* et al. Elevated genetic risk for multiple sclerosis emerged in steppe pastoralist populations. Nature 625, 321–328 (2024). https://doi.org/10.1038/s41586-023-06618-z
Download the code:
git clone [email protected]:ekirving/ms_paper.git && cd ms_paper/
The easiest way to install all the dependencies is with the conda package manager.
conda env create --name ms --file environment.yaml
Then activate the environment:
conda activate ms
Assuming you have all the input data, you can reproduce the analyses by running:
snakemake all
In practice, computing the DAG of the rule chain will take a long time, and you will need a lot of computational resources to perform an end-to-end replication (e.g., about 1 week of wall-time on a cluster of three 96-core nodes).
Evan K. Irving-Pease, GLOBE Institute, University of Copenhagen
This project is licensed under the MIT License - see the LICENSE file for details