From 610135886b6c73414108f941df7eb57881099825 Mon Sep 17 00:00:00 2001 From: Adam Taylor Date: Thu, 3 Aug 2023 21:02:24 +0100 Subject: [PATCH] Add nextflow config with profiles --- nextflow.config | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 nextflow.config diff --git a/nextflow.config b/nextflow.config new file mode 100644 index 0000000..f921b9d --- /dev/null +++ b/nextflow.config @@ -0,0 +1,22 @@ +profiles { + local { + process.executor = 'local' + } + + docker { + docker.enabled = true + process.container = 'ghcr.io/ncihtan/nf-imagecleaner' + } + + tower { + docker.enabled = true + process { + container = 'ghcr.io/ncihtan/nf-imagecleaner' + cpus = { 2 * task.attempt } + memory = { 4.GB * task.attempt } + maxRetries = 3 + errorStrategy = 'retry' + } + } +} +