diff --git a/workflow/rules/assembly.smk b/workflow/rules/assembly.smk index f2783e78..03b64601 100644 --- a/workflow/rules/assembly.smk +++ b/workflow/rules/assembly.smk @@ -136,8 +136,8 @@ rule order_contigs: shadow: "minimal" shell: - " ragtag.py scaffold -C -w -o {params.outdir}/{wildcards.sample} {input.reference} {input.contigs} &&" - " mv {params.outdir}/{wildcards.sample}/ragtag.scaffold.fasta {output} > {log} 2>&1" + "(ragtag.py scaffold -C -w -o {params.outdir}/{wildcards.sample} {input.reference} {input.contigs} &&" + " mv {params.outdir}/{wildcards.sample}/ragtag.scaffold.fasta {output}) > {log} 2>&1" rule filter_chr0: