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
- Fill in demographic and transmission parameters in the example spreadsheet provided (
patat_input_file.xlsx
). - Run simulation for N number of days:
runpatat.py simulate --input patat_input_file.xlsx --ndays N
Simulate genomic surveillance from previously simulated epidemics
- Suppose you had previously used PATAT to simulate an epidemic and the results are stored in the path
PATAT-sim_output
. - Run genomic surveillance simulations (
N
number of random boostraps) assumingf
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for PATAT_sim-0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b55122541d1a88d006be97a54e37f40f0751f7e7e6f4251eb3cbbb8325eda05 |
|
MD5 | 47eb0ebdb6a2a86e0f7aca5e4637264e |
|
BLAKE2b-256 | 22f1f3e3e6203770f68149a88bb2476cf062914927e8eb1f427a0703e49de53c |