From 4afcf60caa8943d2fdbd92705885703dabe5cf79 Mon Sep 17 00:00:00 2001 From: Mahesh Binzer-Panchal Date: Thu, 30 May 2024 13:00:05 +0000 Subject: [PATCH] Fix function name --- subworkflows/functional_annotation/main.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subworkflows/functional_annotation/main.nf b/subworkflows/functional_annotation/main.nf index 750d0ea..6beb21d 100644 --- a/subworkflows/functional_annotation/main.nf +++ b/subworkflows/functional_annotation/main.nf @@ -36,7 +36,7 @@ workflow FUNCTIONAL_ANNOTATION { if ( params.interproscan_database?.endsWith('.tar.gz') ){ UNTAR( Channel.fromPath(params.interproscan_database, checkIfExists: true) - .map { db -> [ [id: db.baseName(2) ], db ] } + .map { db -> [ [id: db.getBaseName(2) ], db ] } ) .untar.set { ch_interpro_db } } else if ( params.interproscan_database ) {