EWF 2.0: exact sampling of allele trajectories using the Wright–Fisher diffusion with time-varying demography
Abstract Background Accurate modelling of allele frequency trajectories requires incorporation of both genetic mechanisms such as selection and mutation, as well as realistic population demography. Accounting for a non-constant demography within a Wright–Fisher diffusion framework induces a time-inhomogenous drift coef...