Git Product home page Git Product logo

fluspeciation's Introduction

Phylodynamics of rapidly adapting pathogens: extinction and speciation of a Red Queen.

Le Yan, Richard A. Neher, and Boris I Shraiman

Abstract:

Rapidly evolving pathogens like influenza viruses can persist by accumulating antigenic novelty fast enough to evade the adaptive immunity of the host population, yet without continuous accumulation of genetic diversity. This dynamical state is often compared to the Red Queen evolving as fast as it can just to maintain its foothold in the host population: Accumulation of antigenic novelty is balanced by the build-up of host immunity. Such Red Queen States (RQS) of continuous adaptation in large rapidly mutating populations are well understood in terms of Traveling Wave (TW) theories of population genetics. Here we shall make explicit the mapping of the established Multi-strain Susceptible-Infected-Recovered (SIR) model onto the TW theory and demonstrate that a pathogen can persist in RQS if cross-immunity is long-ranged and its population size is large populations allowing for rapid adaptation. We then investigate the stability of this state focusing on the rate of extinction and the rate of speciation defined as antigenic divergence of viral strains beyond the range of cross-inhibition. RQS states are transient, but in a certain range of evolutionary parameters can exist for the time long compared to the typical time to the most recent common ancestor. In this range the steady TW is unstable and the antigenic advance of the lead strains relative to the typical co-circulating viruses tends to oscillate. This results in large fluctuations in prevalence that facilitate extinction. We shall demonstrate that the rate of TW fission into antigenically uncoupled viral populations is related to fluctuations of diversity and construct a phase diagram identifying different regimes of viral phylodynamics as a function of evolutionary parameters.

Contents

  • the directory simulation_data contains raw data in zip files of extinction and speciation time from the simulation of FluEpiTreeNM.m and extinction time from the simulation of mfdist.m. Data_antid_Sp.zip, Data_antid_Ext.zip, Data_popN.zip, and Data_beta.zip are from the multi-strain SIR simulation FluEpiTreeNM.m, where _antid implies the crossimmunity range d is varied, _popN implies the host population N is varied, and _beta implies the effect of mutation in infectivity is tuned in the set of data. Data_mf.zip is from the stochastic fitness class simulation mfdist.m. In the unzipped folders, Extinct files record the time between successive extinction events. WaitTime files record the time interval to the most recent common ancester (MRCA), time to the MRCA (TMRCA), generations to the MRCA, and total number of strains in the clone at each TMRCA advance event. The file names record the input parameters in the following format: Extinct\WaitTime_birth rate gamma_mutation rate m_selection coefficient s_log10 of population N_replica number.dat. The average of the extinction and speciation time of the corresponding data are recorded in the subdirectory ExtSpTime.
  • the MATLAB file mfdist.m implements the stochastic fitness class simulation of a large population in a one dimensional landscape. It the was used to produce simulation data on extinction times.
  • the file pop2tw.m is an analogous fitness class simulation of two coupled populations to investigate the speciation behavior.
  • the file FluEpiTreeNM.m implements a tree structured viral population use to simulate the SIR model.

fluspeciation's People

Contributors

lyyanlely avatar rneher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.