Skip to content

Job request: 3948

Organisation:
Bennett Institute
Workspace:
aimpaper-analysis
ID:
y7p5w63ukusyyl7b

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

By cross-referencing the indicated Requested Actions with the Pipeline section below, you can infer what security level various outputs were written to. Outputs marked as highly_sensitive can never be viewed directly by a researcher; 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:

  ## # # # # # # # # # # # # # # # # # # # 
  ## DO NOT EDIT project.yaml DIRECTLY 
  ## This file is created by create_project.R 
  ## Edit and run create_project.R to update the project.yaml 
  ## # # # # # # # # # # # # # # # # # # # 
  ## # # # # # # # # # # # # # # # # # # # 
  ## Metadata for study design 
  ## # # # # # # # # # # # # # # # # # # # 

  design:
    run: r:latest analysis/00_design.R
    outputs:
      moderately_sensitive:
        dates_json: analysis/lib/dates.json
        dates_rds: analysis/lib/dates.rds

  ## # # # # # # # # # # # # # # # # # # # 
  ## Study definition 
  ## # # # # # # # # # # # # # # # # # # # 

  study_definition:
    run: cohortextractor:latest generate_cohort --study-definition study_definition
    needs:
    - design
    outputs:
      highly_sensitive:
        cohort: output/input.csv

  ## # # # # # # # # # # # # # # # # # # # 
  ## Process the data 
  ## # # # # # # # # # # # # # # # # # # # 

  process_data:
    run: r:latest analysis/01_data_process.R
    needs:
    - design
    - study_definition
    outputs:
      highly_sensitive:
        data: output/data/data_processed_*.rds
      moderately_sensitive:
        elig_dates: output/tables/elig_dates_tibble.rds
        death_counts: output/tables/death_count_*.rds

  ## # # # # # # # # # # # # # # # # # # # 
  ## Summary tables for each jcvi_group 
  ## # # # # # # # # # # # # # # # # # # # 

  summary_table_02:
    run: r:latest analysis/02_summary_tables.R 02
    needs:
    - process_data
    outputs:
      moderately_sensitive:
        table: output/tables/summary_table_02.rds

  summary_table_09:
    run: r:latest analysis/02_summary_tables.R 09
    needs:
    - process_data
    outputs:
      moderately_sensitive:
        table: output/tables/summary_table_09.rds

  summary_table_11:
    run: r:latest analysis/02_summary_tables.R 11
    needs:
    - process_data
    outputs:
      moderately_sensitive:
        table: output/tables/summary_table_11.rds

  ## # # # # # # # # # # # # # # # # # # # 
  ## Models for each jcvi_group and model_type 
  ## # # # # # # # # # # # # # # # # # # # 

  model_02_unadj:
    run: r:latest analysis/03_model.R 02 unadj
    needs:
    - process_data
    outputs:
      moderately_sensitive:
        model: output/models/model_02_unadj_*.rds
        table: output/tables/table_02_unadj.rds

  model_09_unadj:
    run: r:latest analysis/03_model.R 09 unadj
    needs:
    - process_data
    outputs:
      moderately_sensitive:
        model: output/models/model_09_unadj_*.rds
        table: output/tables/table_09_unadj.rds

  model_11_unadj:
    run: r:latest analysis/03_model.R 11 unadj
    needs:
    - process_data
    outputs:
      moderately_sensitive:
        model: output/models/model_11_unadj_*.rds
        table: output/tables/table_11_unadj.rds

  ## # # # # # # # # # # # # # # # # # # # 
  ## Cumulative incidence analysis 
  ## # # # # # # # # # # # # # # # # # # # 

  cml_inc_model_jcvi_group:
    run: r:latest analysis/04_cumulative_incidence.R jcvi_group
    needs:
    - design
    - study_definition
    - process_data
    outputs:
      highly_sensitive:
        model: output/models/surv_model_jcvi_group.rds
      moderately_sensitive:
        cml_inc_plot: output/figures/cml_inc_plot_jcvi_group.png
        cml_inc_events: output/figures/cml_inc_events_jcvi_group.png
        cml_inc_censor: output/figures/cml_inc_censor_jcvi_group.png

  cml_inc_model_elig_date:
    run: r:latest analysis/04_cumulative_incidence.R elig_date
    needs:
    - design
    - study_definition
    - process_data
    outputs:
      highly_sensitive:
        model: output/models/surv_model_elig_date.rds
      moderately_sensitive:
        cml_inc_plot: output/figures/cml_inc_plot_elig_date.png
        cml_inc_events: output/figures/cml_inc_events_elig_date.png
        cml_inc_censor: output/figures/cml_inc_censor_elig_date.png

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:47:49

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

Job information

Status
Succeeded
Backend
TPP
Workspace
aimpaper-analysis
Requested by
Will Hulme
Branch
main
Force run dependencies
No
Git commit hash
585d92a
Requested actions
  • process_data
  • summary_table_02
  • summary_table_09
  • summary_table_11
  • model_02_unadj
  • model_09_unadj
  • model_11_unadj
  • cml_inc_model_jcvi_group
  • cml_inc_model_elig_date

Code comparison

Compare the code used in this Job Request