From 17737c1d6ffbe89dfd34e29ca0b66612961eb12d Mon Sep 17 00:00:00 2001 From: Bede Constantinides Date: Wed, 11 Sep 2024 15:23:20 +0000 Subject: [PATCH] Fix resource requirements [CW-4917] --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- docs/03_compute_requirements.md | 4 ++-- main.nf | 4 ++-- nextflow_schema.json | 4 ++-- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 307b843..03cb86a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index bdaec6f..a857664 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/03_compute_requirements.md b/docs/03_compute_requirements.md index 110547f..1d21fd1 100644 --- a/docs/03_compute_requirements.md +++ b/docs/03_compute_requirements.md @@ -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 diff --git a/main.nf b/main.nf index b3b2164..f9793c5 100644 --- a/main.nf +++ b/main.nf @@ -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 @@ -159,7 +159,7 @@ process noAssembly{ process medaka_polish { label "medaka" cpus 2 - memory '16GB' + memory '15GB' input: tuple val(sample_id), val(type), diff --git a/nextflow_schema.json b/nextflow_schema.json index c2b11c1..8f0a31d 100644 --- a/nextflow_schema.json +++ b/nextflow_schema.json @@ -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