top of page

CODE

Most of the work published by Parul Johri is available on Github - https://github.com/paruljohri

Code associated with work published by the lab will be available here - https://github.com/JohriLab

If you're interested in calculating population-genetic statistics in sliding windows from .ms files using python, here are some scripts that you can use.

Here are scripts that use either a single or multiple .ms files and summarize a number of allele frequency and LD-based statistics:

https://github.com/paruljohri/Scripts_PopGen_Statistics_Python/blob/main/statistics_slidingwindow_pylibseq_general_1rep.py

https://github.com/paruljohri/Scripts_PopGen_Statistics_Python/blob/main/statistics_slidingwindow_pylibseq_general_reps.py

Here is a script that will summarize FST-based statistics and also allele frequency-based statistics for each individual population for the same sliding windows:

https://github.com/paruljohri/Scripts_PopGen_Statistics_Python/blob/main/statistics_slidingwindow_pylibseq_general_reps_fst.py

bottom of page