From f76eff0166edfb79967dd81b2020d9c1b758f505 Mon Sep 17 00:00:00 2001 From: Thiseas Christos Lamnidis Date: Fri, 14 Feb 2025 11:44:46 +0100 Subject: [PATCH] give untar unique module name. Deactivate publishdir --- conf/modules.config | 6 ++++++ subworkflows/local/metagenomics_profiling.nf | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/conf/modules.config b/conf/modules.config index b5927862d..70aef263d 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -1206,6 +1206,12 @@ process { ] } + withName: UNTAR_METAGENOMICS { + publishDir = [ + enabled: false + ] + } + withName: KRAKEN2_KRAKEN2 { ext.args = [ params.metagenomics_kraken2_saveminimizers ? "--report-minimizer-data" : "" diff --git a/subworkflows/local/metagenomics_profiling.nf b/subworkflows/local/metagenomics_profiling.nf index f21cb5590..149fc6d38 100644 --- a/subworkflows/local/metagenomics_profiling.nf +++ b/subworkflows/local/metagenomics_profiling.nf @@ -9,7 +9,7 @@ include { KRAKEN2_KRAKEN2 } from '../../modules/nf-core/kraken2/k include { KRAKENUNIQ_PRELOADEDKRAKENUNIQ } from '../../modules/nf-core/krakenuniq/preloadedkrakenuniq/main' include { METAPHLAN_METAPHLAN } from '../../modules/nf-core/metaphlan/metaphlan/main' include { CAT_CAT as CAT_CAT_MALT } from '../../modules/nf-core/cat/cat/main' -include { UNTAR } from '../../modules/nf-core/untar/main' +include { UNTAR as UNTAR_METAGENOMICS } from '../../modules/nf-core/untar/main' workflow METAGENOMICS_PROFILING { @@ -35,8 +35,8 @@ workflow METAGENOMICS_PROFILING { // untar the database ch_untar_input = ch_database.untar.map{ [[], it] } - UNTAR( ch_untar_input ) - ch_untar_output = UNTAR.out.untar.map{ it[1] } + UNTAR_METAGENOMICS( ch_untar_input ) + ch_untar_output = UNTAR_METAGENOMICS.out.untar.map{ it[1] } // back to the original database channel... ch_database = ch_database.base.mix(ch_untar_output)