Skip to content

Commit

Permalink
Merge branch 'CW-4917' into 'dev'
Browse files Browse the repository at this point in the history
Fix resource requirements [CW-4917]

Closes CW-4917

See merge request epi2melabs/workflows/wf-mpx!42
  • Loading branch information
bede committed Sep 11, 2024
2 parents bab46b2 + 17737c1 commit e108b7b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
### Fixed
- Updated recommended (32GB) and minimum (16GB, with `--assembly false`) memory requirements.

## [v1.1.2]
### Changed
- Reconcile workflow with wf-template v5.2.5.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ We expect data to be generated from a mixed population sample hence the use of t
Recommended requirements:

+ CPUs = 4
+ Memory = 16GB
+ Memory = 32GB

Minimum requirements:

+ CPUs = 4
+ Memory = 10GB
+ Memory = 16GB

Approximate run time: 45 minutes

Expand Down
4 changes: 2 additions & 2 deletions docs/03_compute_requirements.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Recommended requirements:

+ CPUs = 4
+ Memory = 16GB
+ Memory = 32GB

Minimum requirements:

+ CPUs = 4
+ Memory = 10GB
+ Memory = 16GB

Approximate run time: 45 minutes

Expand Down
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ process makeConsensus {
process flyeAssembly {
label "wfmpx"
cpus 4
memory '28GB'
memory '31GB'
input:
tuple val(sample_id), val(type), path("${sample_id}.bam"), path("${sample_id}.bam.bai")
path reference
Expand Down Expand Up @@ -159,7 +159,7 @@ process noAssembly{
process medaka_polish {
label "medaka"
cpus 2
memory '16GB'
memory '15GB'
input:
tuple val(sample_id),
val(type),
Expand Down
4 changes: 2 additions & 2 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@
"resources": {
"recommended": {
"cpus": 4,
"memory": "16GB"
"memory": "32GB"
},
"minimum": {
"cpus": 4,
"memory": "10GB"
"memory": "16GB"
},
"run_time": "45 minutes",
"arm_support": true
Expand Down

0 comments on commit e108b7b

Please sign in to comment.