From edd67f0c3d933b34346be54eb0f6676ad2fb80ef Mon Sep 17 00:00:00 2001 From: alsmith Date: Mon, 5 Feb 2024 15:05:00 +0000 Subject: [PATCH] fix: validate peaks wrong param supplied --- seqnado/workflow/rules/hub.smk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seqnado/workflow/rules/hub.smk b/seqnado/workflow/rules/hub.smk index 2fceed56..b913bb44 100644 --- a/seqnado/workflow/rules/hub.smk +++ b/seqnado/workflow/rules/hub.smk @@ -128,7 +128,7 @@ rule save_design: rule validate_peaks: input: - get_peak_files, + peaks=get_peak_files, output: sentinel="seqnado_output/peaks/.validated", container: @@ -143,7 +143,7 @@ rule validate_peaks: with open(peak_file, "r+") as p: peak_entries = p.readlines() if len(peak_entries) < 1: - p.write("chr1\t1\t2\n") + p.write("chr21\t1\t2\n") with open(output.sentinel, "w") as s: s.write("validated")