Skip to content

Commit

Permalink
fixed assembly output dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyliu1326 committed Aug 21, 2023
1 parent 0942537 commit b0d0f64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/local/nanopore-assembly.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
process metaflye {
tag "MetaFlye assembly on ${sample_id}"
label "process_medium"
publishDir "$params.outdir"+"/assembly/${sample_id}", mode: "copy"
publishDir "$params.outdir"+"/assembly/${sample_id}", mode: "copy", pattern: "*.{log,txt,gfa}"
errorStrategy 'ignore'

input:
Expand All @@ -24,7 +24,7 @@ process metaflye {
process dragonflye {
tag "DragonFlye assembly on ${sample_id}"
label "process_medium"
publishDir "$params.outdir"+"/assembly/${sample_id}", mode: "copy"
publishDir "$params.outdir"+"/assembly/${sample_id}", mode: "copy", pattern: "*.{log,txt,gfa}"
errorStrategy 'ignore'

input:
Expand Down
4 changes: 2 additions & 2 deletions modules/local/nanopore-polish.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
process medaka {
tag "Assembly polishing for ${sample_id}"
label "process_medium"
publishDir "$params.outdir"+"/assembly", mode: "copy"
publishDir "$params.outdir"+"/assembly/${sample_id}", mode: "copy"

input:
tuple val(sample_id), path(assembly), path(reads)
Expand All @@ -19,7 +19,7 @@ process medaka_gpu {
tag "Assembly polishing for ${sample_id}"
label "process_medium"
maxForks 1
publishDir "$params.outdir"+"/assembly", mode: "copy"
publishDir "$params.outdir"+"/assembly/${sample_id}", mode: "copy"

input:
tuple val(sample_id), path(assembly), path(reads)
Expand Down

0 comments on commit b0d0f64

Please sign in to comment.