The program simulates the growth of a population of cells, with mutations (and selections) introduced along the way.
The population starts growing from a single cell, following exponential growth. Mutations are introduced into cell division according to Poisson distribution. Subclones with growth (dis)advantages can be introduced by specifying the minimal and maximal frequencies and minimal and maximal appearance time.
Download the source files and them run make.
Run the provided script to get an example of simulated data.
bash test.sh