Skip to content

Commit

Permalink
add path and list for sumstats
Browse files Browse the repository at this point in the history
  • Loading branch information
gmauro committed Jul 8, 2024
1 parent e41d06d commit cf5f4d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ run:
# paths
workspace_path: 'results'
destination_path: 'destination'
sumstats_path: 'config/local.txt'


# LB
sumstats_list: 'config/local.txt'
path_code: "workflow/scripts/"
labels:
chr_label: "'#CHR'"
Expand All @@ -32,6 +33,7 @@ thresholds:
hole: 250000

# MR
sumstats_path: '/exchange/healthds/pQTL/results/META_CHRIS_INTERVAL/qced_sumstats_digits_not_flipped/output'
mapping_filepath: 'data/MR/mapped_gene_file_GRCh37_21052025.txt'
array_list_path: "data/MR/"
params:
Expand Down
2 changes: 1 addition & 1 deletion workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import pandas as pd

# Define input for the rules
data = []
with open(config["sumstats_path"], "r") as fp:
with open(config["sumstats_list"], "r") as fp:
lines = fp.readlines()

for line in lines:
Expand Down

0 comments on commit cf5f4d5

Please sign in to comment.