Skip to content

Commit

Permalink
give untar unique module name. Deactivate publishdir
Browse files Browse the repository at this point in the history
  • Loading branch information
TCLamnidis committed Feb 14, 2025
1 parent d195f32 commit f76eff0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,12 @@ process {
]
}

withName: UNTAR_METAGENOMICS {
publishDir = [
enabled: false
]
}

withName: KRAKEN2_KRAKEN2 {
ext.args = [
params.metagenomics_kraken2_saveminimizers ? "--report-minimizer-data" : ""
Expand Down
6 changes: 3 additions & 3 deletions subworkflows/local/metagenomics_profiling.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -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)
Expand Down

0 comments on commit f76eff0

Please sign in to comment.