1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-12-22 14:48:17 +00:00

Add error strategy for centrifuge/kreport

This commit is contained in:
sofstam 2022-07-28 08:54:32 +02:00
parent 9bc45a3f24
commit 71cf32cc6a

View file

@ -145,7 +145,7 @@ process {
publishDir = [
path: { "${params.outdir}/filtlong" },
mode: params.publish_dir_mode,
pattern: '*.fastq.gz',
pattern: '*.{fastq.gz,log}',
enabled: params.save_preprocessed_reads
]
}
@ -347,6 +347,7 @@ process {
}
withName: CENTRIFUGE_KREPORT {
errorStrategy = {task.exitStatus == 255 ? 'ignore' : 'retry'}
ext.args = { "${meta.db_params}" }
ext.prefix = params.perform_runmerging ? { "${meta.id}-${meta.db_name}" } : { "${meta.id}-${meta.run_accession}-${meta.db_name}" }
publishDir = [