From 40b544c801ccb0d648518cedc049c05f370b07d9 Mon Sep 17 00:00:00 2001
From: Nicolas Servant <nicolas.servant@curie.fr>
Date: Fri, 21 May 2021 13:52:04 +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 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/main.nf b/main.nf
index 6dfd2f6..349b265 100644
--- a/main.nf
+++ b/main.nf
@@ -121,9 +121,6 @@ if (params.split_fastq ){
 
 // Reference genome
 if ( params.bwt2_index ){
-   //lastPath = params.bwt2_index.lastIndexOf(File.separator)
-   //bwt2_dir =  params.bwt2_index.substring(0,lastPath+1)
-   //bwt2_base = params.bwt2_index.substring(lastPath+1)
 
    Channel.fromPath( params.bwt2_index , checkIfExists: true)
       .ifEmpty { exit 1, "Genome index: Provided index not found: ${params.bwt2_index}" }
-- 
GitLab