Skip to content

Commit

Permalink
fix standard filename output
Browse files Browse the repository at this point in the history
  • Loading branch information
sorelfitzgibbon committed Aug 8, 2023
1 parent 027f02c commit 18fe92b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/intersect-processes.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ process intersect_VCFs_BCFtools {
publishDir path: "${params.workflow_output_dir}/output",
mode: "copy",
pattern: "*.vcf.gz*"
publishDir path: "${params.workflow_output_dir}/output/isec-2-or-more",
publishDir path: "${params.workflow_output_dir}/output",
mode: "copy",
pattern: "isec-2-or-more/*.txt",
saveAs: { "${params.output_filename}_${file(it).getName()}" }
publishDir path: "${params.workflow_output_dir}/output/isec-1-or-more",
saveAs: { "${file(it).getParent().getName()}/${params.output_filename}_${file(it).getName()}" }
publishDir path: "${params.workflow_output_dir}/output",
mode: "copy",
pattern: "isec-1-or-more/*.txt",
saveAs: { "${params.output_filename}_${file(it).getName()}" }
saveAs: { "${file(it).getParent().getName()}/${params.output_filename}_${file(it).getName()}" }
publishDir path: "${params.workflow_log_output_dir}",
mode: "copy",
pattern: ".command.*",
Expand Down

0 comments on commit 18fe92b

Please sign in to comment.