mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-23 01:29:54 +00:00
Add error strategy for centrifuge/kreport
This commit is contained in:
parent
9bc45a3f24
commit
71cf32cc6a
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,7 @@ process {
|
||||||
publishDir = [
|
publishDir = [
|
||||||
path: { "${params.outdir}/filtlong" },
|
path: { "${params.outdir}/filtlong" },
|
||||||
mode: params.publish_dir_mode,
|
mode: params.publish_dir_mode,
|
||||||
pattern: '*.fastq.gz',
|
pattern: '*.{fastq.gz,log}',
|
||||||
enabled: params.save_preprocessed_reads
|
enabled: params.save_preprocessed_reads
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -347,6 +347,7 @@ process {
|
||||||
}
|
}
|
||||||
|
|
||||||
withName: CENTRIFUGE_KREPORT {
|
withName: CENTRIFUGE_KREPORT {
|
||||||
|
errorStrategy = {task.exitStatus == 255 ? 'ignore' : 'retry'}
|
||||||
ext.args = { "${meta.db_params}" }
|
ext.args = { "${meta.db_params}" }
|
||||||
ext.prefix = params.perform_runmerging ? { "${meta.id}-${meta.db_name}" } : { "${meta.id}-${meta.run_accession}-${meta.db_name}" }
|
ext.prefix = params.perform_runmerging ? { "${meta.id}-${meta.db_name}" } : { "${meta.id}-${meta.run_accession}-${meta.db_name}" }
|
||||||
publishDir = [
|
publishDir = [
|
||||||
|
|
Loading…
Reference in a new issue