Skip to content

Commit

Permalink
Update peak_calling.smk
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarten-vd-Sande authored Sep 14, 2023
1 parent dd482df commit 31f4794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seq2science/rules/peak_calling.smk
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ rule genrich_pileup:
"../envs/genrich.yaml"
params:
params=config["peak_caller"].get("genrich", " "),
control=lambda wildcards, input: f"-c {input.control}" if "control" in input else "",
control=lambda wildcards, input: f"-c {input.control}" if hasatrr(input, "control") else "",
reps=lambda wildcards, input: input, # help resolve changes in input files
resources:
mem_gb=8,
Expand Down

0 comments on commit 31f4794

Please sign in to comment.