From fe874785a3694a36146f965b7dcf9487c42fcb6d Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent@modolo.fr>
Date: Fri, 22 Jan 2021 14:44:13 +0100
Subject: [PATCH] nf_modules: multiqc add DSL2

---
 src/nf_modules/multiqc/main.nf | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 src/nf_modules/multiqc/main.nf

diff --git a/src/nf_modules/multiqc/main.nf b/src/nf_modules/multiqc/main.nf
new file mode 100644
index 00000000..1a3efda7
--- /dev/null
+++ b/src/nf_modules/multiqc/main.nf
@@ -0,0 +1,20 @@
+version = "1.7"
+container_url = "lbmc/multiqc:${version}"
+
+process multiqc {
+  container = "${container_url}"
+  label "big_mem_mono_cpus"
+  tag "$report[0].baseName"
+  publishDir "results/QC/multiqc/", mode: 'copy'
+
+  input:
+    path report
+
+  output:
+    path "*multiqc_*", emit: report
+
+  script:
+"""
+multiqc -f .
+"""
+}
-- 
GitLab