From 6036f76eceab3c3a7da5471a8142dbe7f55f24a8 Mon Sep 17 00:00:00 2001 From: alsmith Date: Fri, 26 Apr 2024 18:41:37 +0100 Subject: [PATCH] Refactor control lambda function in peak_call_chip.smk to allow null control files --- seqnado/workflow/rules/peak_call_chip.smk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seqnado/workflow/rules/peak_call_chip.smk b/seqnado/workflow/rules/peak_call_chip.smk index f494e36b..652d021f 100644 --- a/seqnado/workflow/rules/peak_call_chip.smk +++ b/seqnado/workflow/rules/peak_call_chip.smk @@ -160,7 +160,7 @@ rule lanceotron_with_input: rule lanceotron_no_input: input: treatment="seqnado_output/bigwigs/deeptools/unscaled/{sample}_{treatment}.bigWig", - control=lambda wc: get_control_file(wc, file_type="bigwig", allow_null=False), + control=lambda wc: get_control_file(wc, file_type="bigwig", allow_null=True), output: peaks="seqnado_output/peaks/lanceotron/{sample}_{treatment}.bed", log: