From 6447583800b756c573bcf959d14d0d6f29eebd21 Mon Sep 17 00:00:00 2001 From: Alexander Thomas <77535027+alethomas@users.noreply.github.com> Date: Thu, 17 Feb 2022 16:30:18 +0100 Subject: [PATCH] perf: add ont temp flags (#475) * add ont temp flags * whitespace fmt * whitespace fmt Co-authored-by: Thomas Battenfeld <46334240+thomasbtf@users.noreply.github.com> --- workflow/rules/long_read.smk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workflow/rules/long_read.smk b/workflow/rules/long_read.smk index d4d70afa6..ef3117f1f 100644 --- a/workflow/rules/long_read.smk +++ b/workflow/rules/long_read.smk @@ -52,7 +52,7 @@ rule customize_primer_porechop: input: get_artic_primer, output: - "results/.indicators/replacement_notice.txt", + temp("results/.indicators/replacement_notice.txt"), conda: "../envs/primechop.yaml" log: @@ -104,6 +104,8 @@ rule canu_correct: "results/{date}/trimmed/nanofilt/{sample}.fastq", output: "results/{date}/corrected/{sample}/{sample}.correctedReads.fasta.gz", + temp(directory("results/{date}/corrected/{sample}/correction")), + temp(directory("results/{date}/corrected/{sample}/{sample}.seqStore")), log: "logs/{date}/canu/assemble/{sample}.log", params: