Skip to content

JoseBlanca/population_genetics_simulations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Population genetics simulations and practices

In this repository you'll find some practices related to population genetics that I have used in my teaching.

Each practice is located within a Jupyter Notebook file.

Practices implemented:

How to run the code

To run the code you need Jupyter and some population genetic libraries that have been used to create the simulations:

The full list of dependencies can be found in the files requirements.txt or environment.yml

If you are new to Python the easiest way to run the code in your computer is:

  • Install Anaconda
  • Launch "Anaconda Navigator"
  • Run a console inside Anaconda Navigator (in windows CMD.exe promt will do)
  • Inside the terminal run the command:
conda install --yes -c conda-forge scikit-allel ipywidgets seaborn msprime plotly demesdraw jupyter-dash
  • Once the command is run close the terminal
  • Download and unzip the practices
  • In Anaconda Navigator open Launch "Jupyter Lab"
  • In the Jyputer Lab file browser go to the practices src folder and one any of the Jupyter Notebook files (the ones with the extension .ipynb)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published