Skip to content

Commit 7ead9a0

Browse files
authored
Merge pull request nf-core#630 from maxibor/dev
Improve memory and error handling of qualimap
2 parents b916b6d + 96135fe commit 7ead9a0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111

1212
- Removed leftover old DockerHub push CI commands.
1313
- [#627](https://github.com/nf-core/eager/issues/627) Added de Barros Damgaard citation to README
14+
- [#630](https://github.com/nf-core/eager/pull/630) Better handling of Qualimap memory requirements and error strategy.
1415

1516
### `Dependencies`
1617

conf/base.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ process {
7474
}
7575

7676
withName:qualimap{
77-
errorStrategy = 'ignore'
77+
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : 'finish' }
7878
}
7979

8080
withName:preseq {

main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2443,7 +2443,7 @@ process qualimap {
24432443
script:
24442444
def snpcap = params.snpcapture_bed != '' ? "-gff ${params.snpcapture_bed}" : ''
24452445
"""
2446-
qualimap bamqc -bam $bam -nt ${task.cpus} -outdir . -outformat "HTML" ${snpcap}
2446+
qualimap bamqc -bam $bam -nt ${task.cpus} -outdir . -outformat "HTML" ${snpcap} --java-mem-size=${task.memory.toGiga()}G
24472447
"""
24482448
}
24492449

0 commit comments

Comments
 (0)