From cc0944fa968b157f48b369d2b082148a24d99038 Mon Sep 17 00:00:00 2001 From: Mia Croiset <mia.croiset@ens-lyon.fr> Date: Tue, 29 Aug 2023 15:30:38 +0200 Subject: [PATCH] update modules to add versions --- conf/base.config | 2 +- modules/local/hicexplorer/hicPlotMatrix.nf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/base.config b/conf/base.config index 384086a..e778a4e 100644 --- a/conf/base.config +++ b/conf/base.config @@ -48,7 +48,7 @@ process { time = { check_max( 20.h * task.attempt, 'time' ) } } withLabel:process_high_memory { - memory = { check_max( 300.GB * task.attempt, 'memory' ) } + memory = { check_max( 24.GB * task.attempt, 'memory' ) } } withLabel:error_ignore { errorStrategy = 'ignore' diff --git a/modules/local/hicexplorer/hicPlotMatrix.nf b/modules/local/hicexplorer/hicPlotMatrix.nf index de90826..0f93199 100644 --- a/modules/local/hicexplorer/hicPlotMatrix.nf +++ b/modules/local/hicexplorer/hicPlotMatrix.nf @@ -20,5 +20,10 @@ process HIC_PLOT_MATRIX { """ hicPlotMatrix -m ${cool} -o ${prefix}_cool_log.pdf ${args} + + cat <<-END_VERSIONS > versions.yml + "${task.process}": + hicexplorer: \$(hicPlotMatrix --version 2>&1 | sed 's/hicPlotMatrix, version //') + END_VERSIONS """ } -- GitLab