Skip to main content

A stochastic agent-based model to simulate SARS-CoV-2 epidemics.

Project description

Propelling ACT-Accelerator to invest in Testing (PATAT) model


PATAT is a stochastic agent-based modelling framework developed to investigate the impact of using SARS-CoV-2 antigen rapid diagnostic tests (Ag-RDTs) in communities with demographic profiles, contact mixing patterns, levels of public health resources mirroring those often observed in low- and middle-income countries (LMICs). PATAT has been used in the Phase 2 study of the Access to COVID-19 Tools Accelerator (ACT-Accelerator) SARS-CoV-2 diagnostics modelling consortium, led by the Foundation for Innovative New Diagnostics (FIND). This study interrogates how different Ag-RDT availability and distribution strategies, including the implementation of community testing in households, schools, formal workplaces and regular mass gatherings (e.g. churches), as well as post-testing behavioural changes and public health interventions could impact onward disease transmissions and pandemic mitigation

The analyses codes for the ACT-Accelerator Phase 2 study be found as a Jupyter Notebook here

PATAT can also simulate the spread of up to two SARS-CoV-2 variants with different viral and transmission properties (e.g. incubation and infection periods, maximum within-host viral load, disease severity, relative transmissibility, etc.). As such, PATAT can also be used to perform other COVID-19 analyses.

We have used PATAT to investigate how testing capacities, sampling coverage and sequencing proportions jointly impact the effectiveness of pathogen surveillance. This work and the original scientific paper describing PATAT can be found here and cited as:

The analyses codes for this paper can be found as a Jupyter Notebook here

If you have questions or comments, please email to x.han@amsterdamumc.nl.

Requirements and installation of PATAT-sim


PATAT-sim minimally requires Python 3.7 and Cython 0.29.23. Before installation, install Cython by pip:

pip install cython

PATAT-sim can also be installed as a pip package:
pip install PATAT-sim

If installation by pip fails, you can also clone this repository in your local drive and install by:

git clone https://github.com/AMC-LAEB/PATAT-sim
cd PATAT-sim
python setup.py install --record installed_files.txt

Basic usage


Simulate SARS-CoV-2 epidemic

  1. Fill in demographic and transmission parameters in the example spreadsheet provided (patat_input_file.xlsx).
  2. Run simulation for N number of days: runpatat.py simulate --input patat_input_file.xlsx --ndays N

Simulate genomic surveillance from previously simulated epidemics

  1. Suppose you had previously used PATAT to simulate an epidemic and the results are stored in the path PATAT-sim_output.
  2. Run genomic surveillance simulations (N number of random boostraps) assuming f fraction of healthcare facilities as tertiary facilities (i.e. assumed that only tertiary facilties have capacities and resources to perform genome sequencing), s fraction of samples collected are being sequenced weekly: runpatat.py gs --resfolder PATAT-sim_output --tertiary_hcf_prop f --seq_prop s --gs_sim_N N

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PATAT-sim-0.1.tar.gz (445.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PATAT_sim-0.1-cp38-cp38-macosx_11_0_arm64.whl (574.9 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

Details for the file PATAT-sim-0.1.tar.gz.

File metadata

  • Download URL: PATAT-sim-0.1.tar.gz
  • Upload date:
  • Size: 445.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for PATAT-sim-0.1.tar.gz
Algorithm Hash digest
SHA256 05f9f184527eece7c5e50c3310dd072a601dc5ab47ff9456ab7a3cde57c130a0
MD5 ab41b1ff2e9cb1c0b92f44c06337836d
BLAKE2b-256 b5ac3d395c01f35ae0f353ea231603eb2537189c2be75a2d91225d5ecd67cd69

See more details on using hashes here.

File details

Details for the file PATAT_sim-0.1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for PATAT_sim-0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b55122541d1a88d006be97a54e37f40f0751f7e7e6f4251eb3cbbb8325eda05
MD5 47eb0ebdb6a2a86e0f7aca5e4637264e
BLAKE2b-256 22f1f3e3e6203770f68149a88bb2476cf062914927e8eb1f427a0703e49de53c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page