jajclement / hotSSDS

2 stars 1 forks source link

Publishing incorrect #9

Open andpet0101 opened 2 years ago

andpet0101 commented 2 years ago

Bam and bed file for the individual types of ssDNA get published into incorrect folders:

This here publishes a bam file into a bed directory:

publishDir "${params.outdir}/bwa/filterbam/flag_${params.filtering_flag}/parse_itr/dsDNA/bed",       mode: params.publishdir_mode, pattern: "*.dsDNA*.bed"    
publishDir "${params.outdir}/bwa/filterbam/flag_${params.filtering_flag}/parse_itr/dsDNA/bed",       mode: params.publishdir_mode, pattern: "*f.dsDNA*.bam*"

This here publishes a type2 bam into the type1 directory

publishDir "${params.outdir}/bwa/filterbam/flag_${params.filtering_flag}/parse_itr/type2/bed",       mode: params.publishdir_mode, pattern: "*.ssDNA_type2.bed"
publishDir "${params.outdir}/bwa/filterbam/flag_${params.filtering_flag}/parse_itr/type2/bam",       mode: params.publishdir_mode, pattern: "*f..ssDNA_type1.bam*"

Andreas