1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-25 22:49:54 +00:00

Get build directory working

This commit is contained in:
James Fellows Yates 2022-04-18 06:37:23 +02:00
parent b036ed5b73
commit 9880baa0b8

View file

@ -137,13 +137,14 @@ process {
path: { "${params.outdir}/bowtie2/build" }, path: { "${params.outdir}/bowtie2/build" },
mode: params.publish_dir_mode, mode: params.publish_dir_mode,
enabled: params.save_hostremoval_index, enabled: params.save_hostremoval_index,
pattern: 'bowtie2/*' pattern: 'bowtie2'
] ]
} }
withName: BOWTIE2_ALIGN { withName: BOWTIE2_ALIGN {
ext.prefix = { "${meta.id}_${meta.run_accession}" } ext.prefix = { "${meta.id}_${meta.run_accession}" }
publishDir = [[ publishDir = [
[
path: { "${params.outdir}/bowtie2/align" }, path: { "${params.outdir}/bowtie2/align" },
mode: params.publish_dir_mode, mode: params.publish_dir_mode,
pattern: '*.log' pattern: '*.log'
@ -154,12 +155,13 @@ process {
enabled: params.save_hostremoval_mapped, enabled: params.save_hostremoval_mapped,
pattern: '*.bam' pattern: '*.bam'
], ],
publishDir = [ [
path: { "${params.outdir}/bowtie2/align" }, path: { "${params.outdir}/bowtie2/align" },
mode: params.publish_dir_mode, mode: params.publish_dir_mode,
enabled: params.save_hostremoval_unmapped, enabled: params.save_hostremoval_unmapped,
pattern: '*.fastq.gz' pattern: '*.fastq.gz'
]] ]
]
} }
withName: BBMAP_BBDUK { withName: BBMAP_BBDUK {