From 1171f4fddd235108dcc5070091300b82229bf827 Mon Sep 17 00:00:00 2001 From: BiancaStoecker Date: Mon, 3 Jun 2024 10:27:54 +0000 Subject: [PATCH] fix: fix expand in rule eval through split by coverage. --- workflow/Snakefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/workflow/Snakefile b/workflow/Snakefile index 60e2816..dd63589 100644 --- a/workflow/Snakefile +++ b/workflow/Snakefile @@ -28,6 +28,11 @@ if "variant-calls" in config: # of the checkpoint output expand( "results/variants/{benchmark}.truth.cov-{cov}.stats.json", - benchmark=used_benchmarks, + benchmark=[benchmark for benchmark in used_benchmarks if benchmarks[benchmark].get("high-coverage")], cov=high_coverages, ), + expand( + "results/variants/{benchmark}.truth.cov-{cov}.stats.json", + benchmark=[benchmark for benchmark in used_benchmarks if not benchmarks[benchmark].get("high-coverage")], + cov=low_coverages, + ),