Skip to content

Job request: 5063

Organisation:
University of Bristol
Workspace:
covid-ve-change-over-time-main
ID:
ahkumzep24utfqps

This page shows the technical details of what happened when the authorised researcher Elsie Horne requested one or more actions to be run against real patient data in the project, within a secure environment.

By cross-referencing the list of jobs with the pipeline section below, you can infer what security level various outputs were written to. Researchers can never directly view outputs marked as highly_sensitive ; they can only request that code runs against them. Outputs marked as moderately_sensitive can be viewed by an approved researcher by logging into a highly secure environment. Only outputs marked as moderately_sensitive can be requested for release to the public, via a controlled output review service.

Jobs

Pipeline

Show project.yaml
version: '3.0'

expectations:

  population_size: 100000

actions:

  ## #################################### 
  ## preliminaries 
  ## #################################### 

  design:
    run: r:latest analysis/design.R
    outputs:
      moderately_sensitive:
        study_dates_json: output/lib/study_parameters.json
        study_dates_rds: output/lib/study_parameters.rds
        jcvi_groups: output/lib/jcvi_groups.csv
        elig_dates: output/lib/elig_dates.csv
        regions: output/lib/regions.csv
        model_varlist: output/lib/model_varlist.rds
        outcomes: output/lib/outcomes.rds
        subgroups: output/lib/subgroups.rds

  ## #################################### 
  ## study definition 
  ## #################################### 
  ## generate dummy data for study_definition 

  dummy_data:
    run: r:latest analysis/dummy_data.R
    needs:
    - design
    outputs:
      moderately_sensitive:
        dummy_data: analysis/dummy_data.feather

  ## study definition 

  generate_study_population:
    run: cohortextractor:latest generate_cohort --study-definition study_definition
      --output-format feather
    dummy_data_file: analysis/dummy_data.feather
    needs:
    - design
    - dummy_data
    outputs:
      highly_sensitive:
        cohort: output/input.feather

  ## #################################### 
  ## preprocessing 
  ## #################################### 
  ## process data from study_definition 

  data_input_process:
    run: r:latest analysis/preprocess/data_input_process.R
    needs:
    - design
    - dummy_data
    - generate_study_population
    outputs:
      highly_sensitive:
        data_all: output/data/data_*.rds
      moderately_sensitive:
        data_properties: output/tables/data_*_tabulate.txt

  ## apply eligiblity criteria from boxes a and b 

  data_eligible_ab:
    run: r:latest analysis/preprocess/data_eligible_ab.R
    needs:
    - design
    - data_input_process
    outputs:
      highly_sensitive:
        data_eligible_a: output/data/data_eligible_a.rds
        data_eligible_b: output/data/data_eligible_b.rds
      moderately_sensitive:
        eligibility_count: output/lib/eligibility_count_ab.csv
        group_age_ranges: output/lib/group_age_ranges.csv

  ## #################################### 
  ## second_vax_period 
  ## #################################### 
  ## identify second vaccination time periods 
  ## create dataset for identifying second vaccination time periods 

  data_2nd_vax_dates:
    run: r:latest analysis/second_vax_period/data_2nd_vax_dates.R
    needs:
    - design
    - data_input_process
    - data_eligible_ab
    outputs:
      highly_sensitive:
        data_vax_plot: output/second_vax_period/data/data_vax_plot.rds
        second_vax_period_dates_rds: output/second_vax_period/data/second_vax_period_dates.rds
      moderately_sensitive:
        second_vax_period_dates_txt: output/second_vax_period/tables/second_vax_period_dates.txt

  ## plot second vaccination time periods 

  plot_2nd_vax_dates:
    run: r:latest analysis/second_vax_period/plot_2nd_vax_dates.R
    needs:
    - design
    - data_eligible_ab
    - data_2nd_vax_dates
    outputs:
      moderately_sensitive:
        plots_by_region: output/second_vax_period/images/plot_by_region_*.png

  ## apply eligiblity criteria from boxes c, d and e 

  data_eligible_cde:
    run: r:latest analysis/second_vax_period/data_eligible_cde.R
    needs:
    - design
    - data_input_process
    - data_eligible_ab
    - data_2nd_vax_dates
    outputs:
      highly_sensitive:
        data_eligible_e_vax: output/data/data_eligible_e_vax.rds
        data_eligible_e_unvax: output/data/data_eligible_e_unvax.rds

  ## #################################### 
  ## subsequent vaccination 
  ## #################################### 
  ## plot cumulative incidence of subsequent vaccination 

  plot_cumulative_incidence:
    run: r:latest analysis/subsequent_vax/plot_cumulative_incidence.R
    needs:
    - design
    - data_input_process
    - data_eligible_cde
    outputs:
      moderately_sensitive:
        ci_vax: output/subsequent_vax/images/ci_vax_*.png
        survtable: output/subsequent_vax/tables/survtable_*.txt

  ## #################################### 
  ## comparisons 
  ## #################################### 
  ## process comparisons data 

  data_comparisons_process:
    run: r:latest analysis/comparisons/data_comparisons_process.R
    needs:
    - design
    - data_input_process
    - data_2nd_vax_dates
    - data_eligible_cde
    outputs:
      highly_sensitive:
        data_comparisons: output/comparisons/data/data_comparisons_*.rds

  ## process tte data 

  data_tte_process_BNT162b2:
    run: r:latest analysis/comparisons/data_tte_process.R BNT162b2
    needs:
    - design
    - data_input_process
    - data_comparisons_process
    outputs:
      highly_sensitive:
        data_tte_brand_outcome: output/tte/data/data_tte_BNT162b2*.rds
        event_counts: output/tte/tables/event_counts_BNT162b2.rds

  data_tte_process_ChAdOx:
    run: r:latest analysis/comparisons/data_tte_process.R ChAdOx
    needs:
    - design
    - data_input_process
    - data_comparisons_process
    outputs:
      highly_sensitive:
        data_tte_brand_outcome: output/tte/data/data_tte_ChAdOx*.rds
        event_counts: output/tte/tables/event_counts_ChAdOx.rds

  data_tte_process_both:
    run: r:latest analysis/comparisons/data_tte_process.R both
    needs:
    - design
    - data_input_process
    - data_comparisons_process
    outputs:
      highly_sensitive:
        data_tte_brand_outcome: output/tte/data/data_tte_both*.rds
        event_counts: output/tte/tables/event_counts_both.rds

  ## process event counts tables 

  process_event_count_tables:
    run: r:latest analysis/comparisons/process_event_count_tables.R
    needs:
    - design
    - data_tte_process_BNT162b2
    - data_tte_process_ChAdOx
    outputs:
      moderately_sensitive:
        tidy_tables_events: output/tte/tables/tidy_events*.txt

  ## apply models 
  ## BNT162b2; 16-64 and clinically vulnerable; postest 
  ## preflight checks 

  preflight_BNT162b2_1_postest:
    run: r:latest analysis/comparisons/preflight.R BNT162b2 1 postest
    needs:
    - design
    - data_comparisons_process
    - data_tte_process_BNT162b2
    outputs:
      highly_sensitive:
        model_input: output/preflight/data/model_input_BNT162b2_1_postest.rds
      moderately_sensitive:
        eventcheck_table: output/preflight/tables/eventcheck_BNT162b2_1_postest_*.html
        preflight_report: output/preflight/tables/preflight_report_BNT162b2_1_postest.txt


  ## BNT162b2; 16-64 and clinically vulnerable; covidadmitted 
  ## preflight checks 

  preflight_BNT162b2_1_covidadmitted:
    run: r:latest analysis/comparisons/preflight.R BNT162b2 1 covidadmitted
    needs:
    - design
    - data_comparisons_process
    - data_tte_process_BNT162b2
    outputs:
      highly_sensitive:
        model_input: output/preflight/data/model_input_BNT162b2_1_covidadmitted.rds
      moderately_sensitive:
        eventcheck_table: output/preflight/tables/eventcheck_BNT162b2_1_covidadmitted_*.html
        preflight_report: output/preflight/tables/preflight_report_BNT162b2_1_covidadmitted.txt


  ## BNT162b2; 16-64 and clinically vulnerable; coviddeath 
  ## preflight checks 

  preflight_BNT162b2_1_coviddeath:
    run: r:latest analysis/comparisons/preflight.R BNT162b2 1 coviddeath
    needs:
    - design
    - data_comparisons_process
    - data_tte_process_BNT162b2
    outputs:
      highly_sensitive:
        model_input: output/preflight/data/model_input_BNT162b2_1_coviddeath.rds
      moderately_sensitive:
        eventcheck_table: output/preflight/tables/eventcheck_BNT162b2_1_coviddeath_*.html
        preflight_report: output/preflight/tables/preflight_report_BNT162b2_1_coviddeath.txt

  

  ## BNT162b2; 16-64 and clinically vulnerable; noncoviddeath 
  ## preflight checks 

  preflight_BNT162b2_1_noncoviddeath:
    run: r:latest analysis/comparisons/preflight.R BNT162b2 1 noncoviddeath
    needs:
    - design
    - data_comparisons_process
    - data_tte_process_BNT162b2
    outputs:
      highly_sensitive:
        model_input: output/preflight/data/model_input_BNT162b2_1_noncoviddeath.rds
      moderately_sensitive:
        eventcheck_table: output/preflight/tables/eventcheck_BNT162b2_1_noncoviddeath_*.html
        preflight_report: output/preflight/tables/preflight_report_BNT162b2_1_noncoviddeath.txt

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:18:45

These timestamps are generated and stored using the UTC timezone on the TPP backend.

Job information

Status
Succeeded
Backend
TPP
Requested by
Elsie Horne
Branch
main
Force run dependencies
No
Git commit hash
5d1b8bc
Requested actions
  • preflight_BNT162b2_1_postest
  • preflight_BNT162b2_1_covidadmitted
  • preflight_BNT162b2_1_coviddeath
  • preflight_BNT162b2_1_noncoviddeath

Code comparison

Compare the code used in this Job Request