From 2ffaef30d6c32fc9026c5f633db1e1d155306008 Mon Sep 17 00:00:00 2001
From: aliarifki <aliarifki@outlook.fr>
Date: Thu, 22 Jun 2023 11:32:22 +0200
Subject: [PATCH] Modification du nom du process

---
 src/nf_modules/pycoqc/main.nf | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/src/nf_modules/pycoqc/main.nf b/src/nf_modules/pycoqc/main.nf
index 1951dbf..1a70997 100644
--- a/src/nf_modules/pycoqc/main.nf
+++ b/src/nf_modules/pycoqc/main.nf
@@ -1,7 +1,26 @@
 version = "2.5.2"
 container_url = "xgrand/pycoqc:${version}"
 
-process pycoqc {
+process control_basecalling {
+  container = "${container_url}"
+  label "small_mem_mono_cpus"
+  
+  if (params.basecalling_out != "") {
+    publishDir "results/${params.basecalling_out}", mode: 'copy'
+  }
+
+  input:
+  path(txt)
+
+  output:
+  path("*.html")
+
+  """
+  pycoQC -f ${txt} -o quality_control.html)
+  """
+}
+
+process control_bam {
   container = "${container_url}"
   label "small_mem_mono_cpus"
   
-- 
GitLab