Skip to content

Commit

Permalink
Merge pull request #630 from maxibor/dev
Browse files Browse the repository at this point in the history
Improve memory and error handling of qualimap
  • Loading branch information
jfy133 committed Dec 11, 2020
2 parents b916b6d + 96135fe commit 7ead9a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

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

### `Dependencies`

Expand Down
2 changes: 1 addition & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ process {
}

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

withName:preseq {
Expand Down
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2443,7 +2443,7 @@ process qualimap {
script:
def snpcap = params.snpcapture_bed != '' ? "-gff ${params.snpcapture_bed}" : ''
"""
qualimap bamqc -bam $bam -nt ${task.cpus} -outdir . -outformat "HTML" ${snpcap}
qualimap bamqc -bam $bam -nt ${task.cpus} -outdir . -outformat "HTML" ${snpcap} --java-mem-size=${task.memory.toGiga()}G
"""
}

Expand Down

0 comments on commit 7ead9a0

Please sign in to comment.