Skip to content

GitHub repository for Mah, Lohmueller, and Garud 2023, bioRxiv

License

Notifications You must be signed in to change notification settings

garudlab/microbiome_demography_manuscript

Repository files navigation

microbiome_demography_manuscript

Overview

This is the GitHub repository for Mah, Lohmueller, and Garud 2023, BioRxiv. The entirety of the project and the work that went into it is available via the commit history; however, for ease of viewing, we have organized the directory with helpful .md documents describing how to recreate the figures and tables in our study.

This directory includes the following subdirectories:

Necessary steps for all Figures

Download Data

Consult download_data.md.

Run MIDAS

Consult 'MIDAS.md'.

Construct SFSs

An example .bash script which constructs synonymous and nonsynonymous SFSs for all of the species analyzed in this paper can be found at ./Scripts/compute_sfs.bash. Uncomment appropriate lines to do so for core genes and for accessory genes. To construct SFS's while removing regions of low recombination and selective sweeps, instead you may consult ./Scripts/high_recombination.bash.

Downsample SFSs

An example .bash script which downsamples SFSs to 14 alleles, as was done for all of the species analyzed in this paper, can be found at ./Scripts/downsample_sfs.bash.

About

GitHub repository for Mah, Lohmueller, and Garud 2023, bioRxiv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published