estimate-emergence-from-data

Code for reproducing the results from the preprint "Using early detection data to estimate the date of emergence of an epidemic outbreak".

https://github.com/sjijon/estimate-emergence-from-data

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: medrxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

covid-19 emergence epidemic-model julia non-markov r stochastic uk wuhan
Last synced: 6 months ago · JSON representation ·

Repository

Code for reproducing the results from the preprint "Using early detection data to estimate the date of emergence of an epidemic outbreak".

Basic Info
  • Host: GitHub
  • Owner: sjijon
  • License: mit
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 402 MB
Statistics
  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 2
Topics
covid-19 emergence epidemic-model julia non-markov r stochastic uk wuhan
Created over 3 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License Citation

README.md

Estimate emergence from data

Code for reproducing the results from the preprint:

Using early detection data to estimate the date of emergence of an epidemic outbreak

Sofa Jijn1, Peter Czuppon2, Franois Blanquart3 and Florence Dbarre4

1Institute of ecology and environmental sciences of Paris (iEES Paris, UMR 7618), Sorbonne Universit, CNRS, UPEC, IRD, INRAE, Paris 75005, France

2Institute for Evolution and Biodiversity, University of Mnster, Germany

3Center for Interdisciplinary Research in Biology, CNRS, Collge de France, PSL Research University

doi: https://doi.org/10.1371/journal.pcbi.1011934

URL: Publication | Prerpint | Zenodo |

Abstract

While the first infection by an emerging disease is often unknown, information on early cases can be used to date it, which is of great interest to trace the disease's origin and understand early infection dynamics. Here, we extend the method presented in (Czuppon et al., 2021) to estimate the time series from emergence (i.e., infection of the first human case by the focal disease or variant) to the detection of N cases. We run numerical simulations of infectious disease spreading from a single infectious individual and calibrate the model to reproduce the observed cases in two main epidemiological contexts (the emergence of the Alpha SARS-CoV-2 variant in the UK and the early cases of COVID-19 in Wuhan), but the code was built in a generic form to facilitate applications to other datasets. The main outcome of our model is the expected time to N detected cases.

Contents

  • Data/ contains the files containing the time series of the early cases we use to calibrate the model for different epidemiological contexts, as well as the emergence or tMRCA estimates from previously published studies.

  • Routines/ contains the functions used repeatedly in each application.

  • SetParameters_EpiContext/ contains the parameterizations for each application of the model

  • Fig1_FirstCaseDiagrama generates a diagram illustrating the notions of extinct trees, first infection of the ongoing tee and the MRCA in an epidemic outbreak.

  • Fig2-3_Emergence/ contains the codes to reproduce the results (.jl) and figures (.R) presented in the main text. The subfolder ABC_Simulations/ contains the files containing the time series of the early cases to estimate the first infection in the COVID-19 example.

  • Fig4_Sensitivity Analyses/ contains a variation of the previous scripts to run the simulation over varying values of the main parameters.

  • Fig5_ModelDiagram/ plots a simplified diagram of the model (TikZ, .tex).

  • Figs_Appendix/ contain scripts to reproduce the figures presented in the article's appendix

See the Readme.md files contained in each folder for more details.

Implementation details

Simulations are built in Julia version 1.8.0. Simulations for the Approximate Bayesian Computation are built in C++ version 17.

Figures are built in R version 4.1.2, using the ggplot2 package version 3.3.

Owner

  • Name: Sofia JIJON
  • Login: sjijon
  • Kind: user
  • Location: Paris

Mathematical modeling of infectious diseases.

Citation (citation.cff)

cff-version: 1.2.0
message: "This code allows to reproduce the results from our preprint. Please cite as follows:"
authors:
- family-names: "Jijón"
  given-names: "Sofía"
  orcid: "https://orcid.org/0000-0002-1292-0512"
- family-names: "Czuppon"
  given-names: "Peter"
  orcid: "https://orcid.org/0003-1462-7237"
- family-names: "Blanquart"
  given-names: "François"
  orcid: "https://orcid.org/0003-0591-2466"
- family-names: "Débarre"
  given-names: "Florence"
  orcid: "https://orcid.org/0000-0003-2497-833X"
title: "Using early detection data to estimate the date of emergence of an epidemic outbreak"
# doi: 
date-released: 2022-12-31
url: "https://github.com/sjijon/estimate-emergence-from-data"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1