From 602db2aef13c7cb84ae8a9d1d651876cd425bfe3 Mon Sep 17 00:00:00 2001
From: Mia Croiset <mia.croiset@ens-lyon.fr>
Date: Fri, 1 Sep 2023 15:11:08 +0200
Subject: [PATCH] add new label for matrix plotting

---
 conf/base.config                           | 3 +++
 modules/local/hicexplorer/hicPlotMatrix.nf | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/conf/base.config b/conf/base.config
index e778a4e..95c429c 100644
--- a/conf/base.config
+++ b/conf/base.config
@@ -50,6 +50,9 @@ process {
     withLabel:process_high_memory {
         memory = { check_max( 24.GB * task.attempt, 'memory' ) }
     }
+    withLabel:process_very_high_memory {
+        memory = { check_max( 300.GB * task.attempt, 'memory' ) }
+    }
     withLabel:error_ignore {
         errorStrategy = 'ignore'
     }
diff --git a/modules/local/hicexplorer/hicPlotMatrix.nf b/modules/local/hicexplorer/hicPlotMatrix.nf
index 0f93199..e5de89e 100644
--- a/modules/local/hicexplorer/hicPlotMatrix.nf
+++ b/modules/local/hicexplorer/hicPlotMatrix.nf
@@ -1,6 +1,6 @@
 process HIC_PLOT_MATRIX {
     tag "$meta.id"
-    label 'process_high_memory'
+    label 'process_very_high_memory'
 
     conda "bioconda::hicexplorer=3.7.2"
     container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
-- 
GitLab