Skip to content

Commit

Permalink
fix: properly write to log file in order_contigs rule
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Nov 6, 2024
1 parent 17b4f32 commit 373a3c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/rules/assembly.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 373a3c4

Please sign in to comment.