Skip to content

Simulation of exact paths for the Wright-Fisher diffusion and diffusion-bridge

License

Notifications You must be signed in to change notification settings

AMHermansen/exact_wright_fisher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EWF

An efficient simulator for exact Wright-Fisher diffusion and diffusion bridge paths, accounting for a wide class of selective regimes (genic, diploid and arbitrary polynomial selection), and the presence/absence of mutation. Please consult the UserManual.pdf for all details with regards to installing dependencies, installing the program, and calling it from within python.

Dependencies

EWF requires the following:

Installation

To install, run the following instructions in terminal at the root directory of EWF: mkdir build
cd build
cmake ..
cmake --build .
cd ..
pip install .

Calling in python

Once installed, you can call EWF from python by including
import EWF_pybind
at the start of your python script. Please see the scripts in the examples directory for more details and use cases.

If you come across any bugs, or have any queries/comments/suggestions please do get in touch using the email address [email protected]!

About

Simulation of exact paths for the Wright-Fisher diffusion and diffusion-bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.9%
  • Other 1.1%