Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
gmauro committed Apr 13, 2024
1 parent ff69abf commit 3fe0060
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions config/config_summarize_sumstats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
# common parameters
n_cores: &cores 4

# This is an ordered dict that contains the order in which the steps are run.
run_sequence: !!omap
- 1: 'fill_data'
- 2: 'report_min_pvalue'
- 3: 'report_harmonization_summary'
- 4: 'report_inflation_factors'
- 5: 'qq_manhattan_plots'


steps:
fill_data: # see https://cloufield.github.io/gwaslab/Conversion/#fill_data
params:
run: True
gl_params:
to_fill: ['MLOG10P', 'Z']
overwrite: False
extreme: True
report_min_pvalue:
params:
run: True
workspace: "min_P"
report_harmonization_summary:
params:
run: True
workspace: "outputs"
workspace_subfolder: True
report_inflation_factors:
params:
run: True
workspace: "if"
qq_manhattan_plots:
params:
run: True
workspace: "plots"
dist: 2
gl_params:
mode: 'mqq'
stratified: True
maf_bins: [ [ 0, 0.01 ], [ 0.01, 0.05 ], [ 0.05, 1 ] ]
scaled: True
build: "19"
skip: 1
sig_level: 5e-8


# Filename transformation, e.g.: seq.3007.7.gwas.regenie.gz
filename_mask: [ True, True, True, False, False, False]
filename_sep: '.'

# IO
root_path: "results"
log_filename: "gwaspipe.log"
formatbook_path: "workflow/scripts/gwaspipe/data/formatbook.json" # fill this var if you want to provide a custom formatbook

0 comments on commit 3fe0060

Please sign in to comment.