Skip to content

Commit 790fb89

Browse files
committed
updated params
1 parent 4ec0994 commit 790fb89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

workflow/rules/peak_calling.smk

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,12 @@ if config["peak_calling_macs2"]["run"]:
157157
"_peaks.gappedPeak"
158158
)
159159
params:
160+
outdir=lambda w, output: os.path.dirname(output[0]),
160161
paired_end=paired_end,
161162
mode="broad",
162163
fdr=fdr,
163164
genome=resources.genome,
164-
data_dir=lambda w, output: os.path.dirname(output[0]),
165+
data_dir=lambda w, input: os.path.dirname(input[0]),
165166
extra=config["peak_calling_macs2"]["extra"]
166167
threads: config["resources"]["deeptools"]["cpu"]
167168
resources:

0 commit comments

Comments
 (0)