Pathogen evolution, selection and immunity

Wright-Fisher population dynamics

Wright-Fisher model

There are N individuals in the population. Every generation, each individual has a Poisson number of offspring (looking forwards in time), or picks one random parent individual (looking backwards time). Generations are discrete and non-overlapping.

Wright-Fisher model with mutation and genetic drift

Wright-Fisher model with mutation, genetic drift and selection

Conclusions on effects of selection and how to detect them