Skip to content

Commit 8576418

Browse files
authored
Merge pull request #114 from apeltzer/bwamem
Add sane defaults for BWA mem
2 parents 5da8831 + 891ba12 commit 8576418

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99
### `Added`
1010
* [#111](https://github.com/nf-core/eager/pull/110) - Allow [Zipped FastA reference input](https://github.com/nf-core/eager/issues/91)
1111
* [#113](https://github.com/nf-core/eager/pull/113) - All files are now staged via channels, which is considered best practice by Nextflow.
12-
12+
* [#114](https://github.com/nf-core/eager/pull/113) - Add proper runtime defaults for multiple processes
1313

1414
### `Fixed`
1515
* [#110](https://github.com/nf-core/eager/pull/110) - Fix for [MultiQC Missing Second FastQC report](https://github.com/nf-core/eager/issues/107)

conf/base.config

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ process {
3434
cpus = { check_max(8 * task.attempt, 'cpus') }
3535
time = { check_max(8.h * task.attempt, 'time') }
3636
}
37+
withName:bwamem{
38+
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
39+
cpus = { check_max(8 * task.attempt, 'cpus') }
40+
time = { check_max(8.h * task.attempt, 'time') }
41+
}
42+
withName:qualimap{
43+
cpus = { check_max(8 * task.attempt, 'cpus') }
44+
}
45+
withName:bam_trim{
46+
cpus = { check_max(4 * task.attempt, 'cpus') }
47+
}
48+
withName:markDup{
49+
cpus = { check_max(8 * task.attempt, 'cpus') }
50+
}
3751
withName:preseq {
3852
errorStrategy = 'ignore'
3953
}

0 commit comments

Comments
 (0)