From 5bc6ed90bde50cf0443e9cfadc626546b6731cff Mon Sep 17 00:00:00 2001 From: sofstam Date: Wed, 11 May 2022 11:13:31 +0200 Subject: [PATCH 1/4] Add hasta config for taxprofiler --- conf/pipeline/taxprofiler/hasta.config | 10 ++++++++++ pipeline/taxprofiler.config | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 conf/pipeline/taxprofiler/hasta.config create mode 100644 pipeline/taxprofiler.config diff --git a/conf/pipeline/taxprofiler/hasta.config b/conf/pipeline/taxprofiler/hasta.config new file mode 100644 index 0000000..fcf7b7d --- /dev/null +++ b/conf/pipeline/taxprofiler/hasta.config @@ -0,0 +1,10 @@ +process { + + withName:'BBMAP_BBDUK' { + memory = { check_max( 80.GB * task.attempt, 'memory' ) } + } + + withName: 'MALT_RUN' { + memory = { check_max( 80.GB * task.attempt, 'memory' ) } + } +} diff --git a/pipeline/taxprofiler.config b/pipeline/taxprofiler.config new file mode 100644 index 0000000..be9f02b --- /dev/null +++ b/pipeline/taxprofiler.config @@ -0,0 +1,13 @@ +/* + * ------------------------------------------------- + * nfcore/taxprofiler custom profile Nextflow config file + * ------------------------------------------------- + * Config options for custom environments. + * Cluster-specific config options should be saved + * in the conf/pipeline/taxprofiler folder and imported + * under a profile name here. + */ + +profiles { + hasta { includeConfig "${params.custom_config_base}/conf/pipeline/taxprofiler/hasta.config" } +} From 54b3cda34d9042ee5b5698d9101e38058e1266c5 Mon Sep 17 00:00:00 2001 From: sofstam Date: Thu, 12 May 2022 11:00:26 +0200 Subject: [PATCH 2/4] Add review suggestion --- conf/pipeline/taxprofiler/hasta.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/pipeline/taxprofiler/hasta.config b/conf/pipeline/taxprofiler/hasta.config index fcf7b7d..1241558 100644 --- a/conf/pipeline/taxprofiler/hasta.config +++ b/conf/pipeline/taxprofiler/hasta.config @@ -1,3 +1,9 @@ +params { + // Specific nf-core/configs params + config_profile_contact = 'Sofia Stamouli (@sofstam)' + config_profile_description = 'nf-core/taxprofiler HASTA profile provided by nf-core/configs' +} + process { withName:'BBMAP_BBDUK' { From b1deb0abce3bd642387ec3e87e7860877344e121 Mon Sep 17 00:00:00 2001 From: sofstam Date: Thu, 12 May 2022 14:56:52 +0200 Subject: [PATCH 3/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 43b8c71..8acc0d5 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,7 @@ Currently documentation is available for the following pipelines within specific - [UPPMAX](docs/pipeline/sarek/uppmax.md) - taxprofiler - [EVA](docs/pipeline/taxprofiler/eva.md) + - [hasta](docs/pipeline/taxprofiler/hasta.md) ### Pipeline-specific documentation From ca4cdcffeed7fa34d5ce635e707c98979aeb57e7 Mon Sep 17 00:00:00 2001 From: sofstam Date: Thu, 12 May 2022 15:07:30 +0200 Subject: [PATCH 4/4] Fix typo --- docs/pipeline/{ => taxprofiler}/hasta.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/pipeline/{ => taxprofiler}/hasta.md (100%) diff --git a/docs/pipeline/hasta.md b/docs/pipeline/taxprofiler/hasta.md similarity index 100% rename from docs/pipeline/hasta.md rename to docs/pipeline/taxprofiler/hasta.md