1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-10 23:53:10 +00:00

fix: use parameter for publish mode everywhere

This commit is contained in:
Moritz E. Beber 2022-04-05 12:16:26 +02:00
parent c40a9a0011
commit af12435fa5

View file

@ -43,7 +43,7 @@ process {
ext.prefix = { "${meta.id}_${meta.run_accession}_raw" }
publishDir = [
path: { "${params.outdir}/fastqc/raw" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.html'
]
}
@ -53,7 +53,7 @@ process {
ext.prefix = { "${meta.id}_${meta.run_accession}_processed" }
publishDir = [
path: { "${params.outdir}/fastqc/processed" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.html'
]
}
@ -69,7 +69,7 @@ process {
ext.prefix = { "${meta.id}_${meta.run_accession}" }
publishDir = [
path: { "${params.outdir}/fastp" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.fastq.gz'
]
}
@ -88,7 +88,7 @@ process {
ext.prefix = { "${meta.id}_${meta.run_accession}" }
publishDir = [
path: { "${params.outdir}/fastp" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.fastq.gz'
]
}
@ -104,7 +104,7 @@ process {
ext.prefix = { "${meta.id}_${meta.run_accession}" }
publishDir = [
path: { "${params.outdir}/adapterremoval" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.fastq.gz'
]
}
@ -123,7 +123,7 @@ process {
ext.prefix = { "${meta.id}_${meta.run_accession}" }
publishDir = [
path: { "${params.outdir}/adapterremoval" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.fastq.gz'
]
}
@ -132,7 +132,7 @@ process {
ext.prefix = { "${meta.id}_${meta.run_accession}" }
publishDir = [
path: { "${params.outdir}/porechop" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.fastq.gz'
]
}
@ -169,7 +169,7 @@ process {
ext.prefix = { "${meta.id}-${meta.run_accession}-${meta.db_name}" }
publishDir = [
path: { "${params.outdir}/malt/${meta.db_name}" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.{rma6,tab,text,sam,log}'
]
}
@ -179,7 +179,7 @@ process {
ext.prefix = { "${meta.id}-${meta.run_accession}-${meta.db_name}" }
publishDir = [
path: { "${params.outdir}/kraken2/${meta.db_name}" },
mode: 'copy',
mode: params.publish_dir_mode,
pattern: '*.{fastq.gz,txt}'
]
}