From 96262541953f97e3e7b7936cd632969c2cba7a14 Mon Sep 17 00:00:00 2001 From: MaxUlysse Date: Sat, 22 Aug 2020 11:14:15 +0200 Subject: [PATCH] fix merge --- main.nf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.nf b/main.nf index 335250b85..95ea08b4f 100644 --- a/main.nf +++ b/main.nf @@ -339,9 +339,9 @@ params.intervals = params.genome && !('annotate' in step) ? params.genomes[param params.known_indels = params.genome && ('mapping' in step || 'preparerecalibration' in step) ? params.genomes[params.genome].known_indels ?: null : null params.known_indels_index = params.genome && params.known_indels ? params.genomes[params.genome].known_indels_index ?: null : null params.mappability = params.genome && 'controlfreec' in tools ? params.genomes[params.genome].mappability ?: null : null -params.snpeff_db = params.genome && 'snpeff' in tools ? params.genomes[params.genome].snpeff_db ?: null : null -params.species = params.genome && 'vep' in tools ? params.genomes[params.genome].species ?: null : null -params.vep_cache_version = params.genome && 'vep' in tools ? params.genomes[params.genome].vep_cache_version ?: null : null +params.snpeff_db = params.genome && ('snpeff' in tools || 'merge' in tools) ? params.genomes[params.genome].snpeff_db ?: null : null +params.species = params.genome && ('vep' in tools || 'merge' in tools) ? params.genomes[params.genome].species ?: null : null +params.vep_cache_version = params.genome && ('vep' in tools || 'merge' in tools) ? params.genomes[params.genome].vep_cache_version ?: null : null // Initialize channels with files based on params ch_ac_loci = params.ac_loci && 'ascat' in tools ? Channel.value(file(params.ac_loci)) : "null"