Skip to content

Commit f79bc86

Browse files
authored
Merge pull request #176 from apeltzer/damageprofiler-more
Add more time for DamageProfiler on large ref genomes
2 parents 4d2f062 + 416d0fe commit f79bc86

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1414
* Merged in [nf-core/tools](https://github.com/nf-core/tools) release V1.6 template changes
1515

1616
### `Fixed`
17+
* [#152](https://github.com/nf-core/eager/pull/152) - DamageProfiler errors [won't crash entire pipeline anymore](https://github.com/nf-core/eager/issues/171)
18+
* [#176](https://github.com/nf-core/eager/pull/176) - Increase runtime for DamageProfiler on [large reference genomes](https://github.com/nf-core/eager/issues/173)
1719
* [#172](https://github.com/nf-core/eager/pull/152) - DamageProfiler errors [won't crash entire pipeline anymore](https://github.com/nf-core/eager/issues/171)
1820
* [#174](https://github.com/nf-core/eager/pull/190) - Publish DeDup files [properly](https://github.com/nf-core/eager/issues/183)
1921

2022
### `Dependencies`
2123

22-
* Added DeDup v0.12.4 (json support)
24+
* Added DeDup v0.12.5 (json support)
2325
* Added mtnucratio v0.5 (json support)
2426
* Updated Picard 2.18.27 -> 2.19.0
2527
* Updated GATK 4.1.0.0 -> 4.1.1.1

conf/base.config

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ process {
2323
memory = { check_max( 2.GB, 'memory' ) }
2424
cache = false
2525
}
26-
2726
withName:convertBam {
2827
cpus = { check_max(8 * task.attempt, 'cpus') }
2928
}
3029
withName:makeSeqDict {
3130
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
3231
}
33-
32+
withname:makeBWAIndex {
33+
time = params.large_ref ? '12.h' : { check_max(8.h * task.attempt, 'time') }
34+
}
3435
withName:bwa {
3536
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
3637
cpus = { check_max(8 * task.attempt, 'cpus') }
@@ -63,6 +64,7 @@ process {
6364

6465
withName: damageprofiler {
6566
errorStrategy = 'ignore'
67+
params.large_ref ? "time = { check_max(8.h * task.attempt, 'time') }" : "time = { check_max(2.h * task.attempt, 'time') }"
6668
}
6769

6870
withName: extract_unmapped_reads {

0 commit comments

Comments
 (0)