Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 847 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 847 Bytes

Minimal simuPOP example

Single locus example

After this, tree.hdf5 will contain a tree-sequence with a single selected loci in the middle of block of length L.

python3 examples.py -N 5000 -L 10000 -g log.txt -T 50 -t tree.hdf5

The selection coefficient is drawn from a gamma distribution (parameters can be passed to the script) but one could also edit the script, replacing the callable GammaDistributedFitness with a simple function using logic like this section and hard-coding s.

Setup

Follow the steps in the main README to set up a conda environment for ftprime.