From 42fbcd8bc442d5c1e2142fc6c14406819c2b63bb Mon Sep 17 00:00:00 2001 From: Thomas Battenfeld <46334240+thomasbtf@users.noreply.github.com> Date: Wed, 19 Jan 2022 15:47:54 +0100 Subject: [PATCH] fix(deps): update multiqc wrapper (#329) * update multiqc wrapper * Update qc.smk --- workflow/rules/qc.smk | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/workflow/rules/qc.smk b/workflow/rules/qc.smk index 44dee7421..93c85b0f2 100644 --- a/workflow/rules/qc.smk +++ b/workflow/rules/qc.smk @@ -38,19 +38,13 @@ rule multiqc: output: "results/{date}/qc/multiqc.html", params: - input_dirs=lambda w, input: set(path.dirname(fp) for fp in input), - output_dir=lambda w, output: path.dirname(output[0]), - output_name=lambda w, output: path.basename(output[0]), params=( "--config config/multiqc_config.yaml --title 'Results for data from {date}'" ), log: "logs/{date}/multiqc.log", - conda: - "../envs/multiqc.yaml" - shell: - "multiqc {params.params} --force -o {params.output_dir} " - "-n {params.output_name} {params.input_dirs} > {log} 2>&1" + wrapper: + "v0.86.0/bio/multiqc" rule multiqc_lab: @@ -72,17 +66,11 @@ rule multiqc_lab: subcategory="1. Quality Control", ), params: - input_dirs=lambda w, input: set(path.dirname(fp) for fp in input), - output_dir=lambda w, output: path.dirname(output[0]), - output_name=lambda w, output: path.basename(output[0]), params="--config config/multiqc_config_lab.yaml --title 'Results for data from {date}'", - conda: - "../envs/multiqc.yaml" log: "logs/{date}/multiqc.log", - shell: - "multiqc {params.params} --force -o {params.output_dir} " - "-n {params.output_name} {params.input_dirs} > {log} 2>&1" + wrapper: + "v0.86.0/bio/multiqc" rule samtools_flagstat: