Skip to content

Job request: 11776

Organisation:
Bennett Institute
Workspace:
opioids-covid-research
ID:
ga5pnsyfou4jmwhy

This page shows the technical details of what happened when the authorised researcher Colm Andrews 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

  • Action:
    generate_ethnicity_cohort
    Status:
    Status: Succeeded
    Job identifier:
    ybgtjlbjia3brbxw
  • Action:
    generate_study_population_3
    Status:
    Status: Succeeded
    Job identifier:
    dcebofqcuhvrly6o
  • Action:
    generate_study_population_2
    Status:
    Status: Succeeded
    Job identifier:
    rjnd353lmtuq4wk2
  • Action:
    join_cohorts
    Status:
    Status: Failed
    Job identifier:
    bus77b3sywdasitd
    Error:
    nonzero_exit: Job exited with error code 255
  • Action:
    generate_measures
    Status:
    Status: Failed
    Job identifier:
    f34etxhtu5n333dm
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    process_data
    Status:
    Status: Failed
    Job identifier:
    jd7zx2xip3bbsq4a
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    timeseries
    Status:
    Status: Failed
    Job identifier:
    fcj643yibu2gr5cz
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    table
    Status:
    Status: Failed
    Job identifier:
    ezvz27lvsojwr7ff
    Error:
    dependency_failed: Not starting as dependency failed

Pipeline

Show project.yaml
######################################

# This script defines the project pipeline - it specifys the execution orders for all the code in this
# repo using a series of actions.

######################################

version: '3.0'

expectations:
  population_size: 10000

actions:

  # Extract data ----
  
  ## Cohort data
  #generate_study_population_1:
  #  run: cohortextractor:latest generate_cohort
  #    --study-definition study_definition 
  #    --index-date-range "2018-01-01 to 2018-12-01 by month" 
  #    --output-dir=output 
  #    --output-format=csv
  #  outputs:
  #    highly_sensitive:
  #      cohort: output/input_*.csv

  generate_study_population_2:
    run: cohortextractor:latest generate_cohort 
      --study-definition study_definition 
      --index-date-range "2019-01-01 to 2019-12-01 by month" 
      --output-dir=output 
      --output-format=csv
    outputs:
      highly_sensitive:
        cohort: output/input*.csv

  generate_study_population_3:
    run: cohortextractor:latest generate_cohort 
      --study-definition study_definition 
      --index-date-range "2020-01-01 to 2020-12-01 by month" 
      --output-dir=output 
      --output-format=csv
    outputs:
      highly_sensitive:
        cohort: output/inpu*.csv

  #generate_study_population_4:
  #  run: cohortextractor:latest generate_cohort 
  #    --study-definition study_definition 
  #    --index-date-range "2021-01-01 to 2021-12-01 by month" 
  #    --output-dir=output 
  #    --output-format=csv
  #  outputs:
  #    highly_sensitive:
  #      cohort: output/inp*.csv
  
  #generate_study_population_5:
  #  run: cohortextractor:latest generate_cohort 
  #    --study-definition study_definition 
  #    --index-date-range "2022-01-01 to 2022-03-01 by month" 
  #    --output-dir=output 
  #    --output-format=csv
  #  outputs:
  #    highly_sensitive:
  #      cohort: output/in*.csv

  ## Ethnicity      
  generate_ethnicity_cohort:
    run: >
      cohortextractor:latest generate_cohort
        --study-definition study_definition_ethnicity
    outputs:
      highly_sensitive:
        cohort: output/input_ethnicity.csv


  # Data processing ----
  
  ## Add ethnicity
  join_cohorts:
    run: >
      cohort-joiner:v0.0.48
        --lhs output/input_*.csv
        --rhs output/input_ethnicity.csv
        --output-dir output/data
    needs: [generate_study_population_2, 
      generate_study_population_3, generate_ethnicity_cohort]
    outputs:
      highly_sensitive:
        cohort: output/data/input_*.csv

  ## Generate measures
  generate_measures:
    run: >
      cohortextractor:latest generate_measures 
        --study-definition study_definition 
        --output-dir output/data
    needs: [join_cohorts]
    outputs:
      moderately_sensitive:
        measure_csv: output/data/measure_*.csv

  ## Process data
  process_data:
   run: r:latest analysis/process/process_data.R
   needs: [generate_measures,join_cohorts]
   outputs:
      moderately_sensitive:
        measure_csv: output/joined/final_*.csv


  # Results ---

  ## Time series
  timeseries:
    run: r:latest analysis/descriptive/time_series.R
    needs: [process_data]
    outputs:
      moderately_sensitive:
        table: output/time series/timeseries_*.csv  
        plot: output/time series/graph_age.png

  ## Table 
  table:
    run: r:latest analysis/descriptive/table.R
    needs: [process_data]
    outputs:
      moderately_sensitive:
        table: output/tables/table_*.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 16:47:03

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

Job information

Status
Failed
Backend
TPP
Requested by
Colm Andrews
Branch
main
Force run dependencies
No
Git commit hash
e4cdb30
Requested actions
  • run_all

Code comparison

Compare the code used in this Job Request

  • No previous Job Request available for comparison