diff --git a/src/nf_modules/danpos/main.nf b/src/nf_modules/danpos/main.nf index f23b5a8cb1c3f16adab8c05740a318185e9f387d..d2b94109ce3105de8d5771be12195a223e523cf7 100644 --- a/src/nf_modules/danpos/main.nf +++ b/src/nf_modules/danpos/main.nf @@ -13,7 +13,7 @@ process dpos_bam { label "big_mem_mono_cpus" tag "$file_id" if (params.dpos_out != "") { - publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "${file_prefix}/*" + publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "*/*" } input: @@ -67,7 +67,7 @@ process dpos_wig { label "big_mem_mono_cpus" tag "$file_id" if (params.dpos_out != "") { - publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "${file_prefix}/*" + publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "*/*" } input: @@ -126,7 +126,7 @@ process dpos_wigvswig { label "big_mem_mono_cpus" tag "$file_id" if (params.dpos_out != "") { - publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "${file_prefix}/*" + publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "*/*" } input: @@ -173,7 +173,7 @@ process dpeak_bam { label "big_mem_mono_cpus" tag "$file_id" if (params.dpeak_out != "") { - publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "${file_prefix}/*" + publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "*/*" } input: @@ -228,7 +228,7 @@ process dpeak_wig { label "big_mem_mono_cpus" tag "$file_id" if (params.dpeak_out != "") { - publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "${file_prefix}/*" + publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "*/*" } input: @@ -288,7 +288,7 @@ process dpeak_wigvswig { label "big_mem_mono_cpus" tag "$file_id" if (params.dpeak_out != "") { - publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "${file_prefix}/*" + publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "*/*" } input: