Skip to content

Commit

Permalink
Updated t1dgrs2 v2 pipeline so that different yml files can be specif…
Browse files Browse the repository at this point in the history
…ied for t1dgrs2 tool
  • Loading branch information
ngaddis committed Sep 25, 2024
1 parent 08e2f40 commit c1efaca
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
1 change: 1 addition & 0 deletions t1dgrs2_pipeline/v2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ WORKDIR /data
RUN chown -R docker:staff /data

ENTRYPOINT [ "/opt/entrypoint.sh" ]

Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
"default": "",
"required": true
},
"control_samples": {
"type": "file",
"default": "",
"required": true
},
"variant_list_version": {
"type": "str",
"default": "mod001",
Expand Down Expand Up @@ -76,6 +71,7 @@
"working_dir": "<inputs.working_dir>calculate_t1dgrs2",
"output_dir": "<inputs.output_dir>calculate_t1dgrs2",
"bfile": "<steps.merge_sample_bfiles_and_controls.bfile>",
"yml": "/pipeline/config/t1dgrs2_settings_<inputs.variant_list_version>.yml",
"out_prefix": "<inputs.output_dir>calculate_t1dgrs2/samples_with_controls"
}
},
Expand Down
12 changes: 12 additions & 0 deletions t1dgrs2_pipeline/v2.0/pipeline_config/t1dgrs2_settings_mod001.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
input: # mandatory, all files in here are tab-delimited tabular data
hla_map: "/pipeline/inputs/T1D67_mapping.tsv"
dq_rank: "/pipeline/inputs/HLADQ_USAEuropean_Klitz.tsv"
max_dq_calls: 2 # not implemented yet
scores: # mandatory
interaction: "/pipeline/inputs/T1D67_interaction_scores.tsv"
all_variants: "/pipeline/inputs/T1D67_plink_all_scores_mod001.tsv"
hla_variants: "/pipeline/inputs/T1D67_plink_hla_scores.tsv" # optional, will automatically exclude HLA BETAs from final calculation if this key-value pair is removed
metrics: # optional, will not compute centiles, PPV or case probability if this key (and child key-value pairs) is removed
centiles_file: "/pipeline/inputs/UKBB_T1D67_ROC.tsv"
params_file: "/pipeline/inputs/UKBB_T1D67_Fit.tsv"
5 changes: 4 additions & 1 deletion t1dgrs2_pipeline/v2.0/pipeline_config/t1dgrs2_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@
"bfile": {
"type": "str"
},
"yml": {
"type": "file"
},
"out_prefix": {
"type": "str"
}
Expand All @@ -381,7 +384,7 @@
"-b",
"<inputs.bfile>",
"-c",
"/pipeline/config/t1dgrs2_settings.yml",
"<inputs.yml>",
"-o",
"<inputs.out_prefix>"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
18:12809340 rs1893217 A G
18:67526644 rs1615504 T C
19:10492274 rs144309607 C T
19:47208481 rs425105 T C
19:47205707 rs60652743 A G
19:47208481 rs425105 T C
20:1610551 rs2281808 T C
21:43825722 rs9981624 G C
22:30504652 rs5763779 A G
Expand Down

0 comments on commit c1efaca

Please sign in to comment.