From cadac376e20cc4020e41eb3aba0f322959d5e4ef Mon Sep 17 00:00:00 2001
From: Nicolas Servant <nicolas.servant@curie.fr>
Date: Fri, 21 May 2021 13:11:46 +0200
Subject: [PATCH] Update main.nf
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
---
 main.nf | 2 --
 1 file changed, 2 deletions(-)

diff --git a/main.nf b/main.nf
index 963c260..4eb670d 100644
--- a/main.nf
+++ b/main.nf
@@ -551,9 +551,7 @@ if (!params.dnase){
       set val(oname), file("${prefix}.mapstat") into all_mapstat
 
       script:
-      //sample = prefix.toString() - ~/(_R1|_R2|_val_1|_val_2|_1|_2)/
       sample = prefix.toString() - ~/(_R1|_R2)/
-      //tag = prefix.toString() =~/_R1|_val_1|_1/ ? "R1" : "R2"
       tag = prefix.toString() =~/_R1/ ? "R1" : "R2"
       oname = prefix.toString() - ~/(\.[0-9]+)$/
       """
-- 
GitLab