This repository holds the results for the branching process model with imported cases. This includes generating serial interval for COVID-19, parsing data from raw COVID-19 cases data and reproducing figures from the paper. To reproduce the results, the branchpro package, which is provided in the link above, is required. The jupyter library is also required.
More details can be found in the paper:
To reproduce all results, including intermediate files:
makeTo delete all files created:
make cleanTo generate serial interval for COVID-19:
make serial_intervalTo delete file of serial interval for COVID-19:
make clean_serial_intervalTo parse all data from raw COVID-19 cases:
make dataTo parse specific data:
make X_datawhere X is the name of region. A list of commands to parse the data are given below.
To delete files of parsed data:
make clean_dataaustralia_data- to parse Australia's datahainan_data- to parse Hainan's datahawaii_data- to parse Hawaii's datahong_kong_data- to parse Hong Kong's datanew_zealand_data- to parse New Zealand's dataontario_data- to parse Ontario's data
For example, to parse Australia's data:
make australia_dataThe value of epsilon (relative transmissibility of imported cases) has been approximated for several territories where appropriate data is available. These calculations can be performed using
make calculate_epsilonTo reproduce all figures:
make figuresThe appropriate COVID-19 data and serial intervals generated as described above are required to reproduce the figures.
To reproduce specfic figure(s):
make figXwhere X is the figure number. A list of commands to reproduce the figures are given below.
To delete all figures, except the schematic figure (Figure_1_schematic.pdf):
make clean_figuresfig2_fig3- to reproduce Figure 2 and Figure 3fig4- to reproduce Figure 4figS1_figS2- to reproduce Figure S1 and Figure S2figS3- to reproduce Figure S3figS4- to reproduce Figure S4figS5_figS6- to reproduce Figure S5 and Figure S6figS7- to reproduce Figure S7figS8- to reproduce Figure S8
Figure_1_schematic.pdf is not reproducible as it is a schematic figure, not created from data.
For example, to reproduce Figure 2 and Figure 3:
make fig2_fig3