diff --git a/modules/nf-core/bowtie/align/main.nf b/modules/nf-core/bowtie/align/main.nf index 2a233c02976..1e0a9dac898 100644 --- a/modules/nf-core/bowtie/align/main.nf +++ b/modules/nf-core/bowtie/align/main.nf @@ -3,7 +3,9 @@ process BOWTIE_ALIGN { label 'process_high' conda "${moduleDir}/environment.yml" - container "nf-core/modules/bowtie:bowtie-1.3.0_samtools-1.16.1--2c2a8138b83d6d1d" + container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? + 'nf-core/modules/bowtie:bowtie-1.3.0_samtools-1.16.1--2c2a8138b83d6d1d' : + 'nf-core/modules/bowtie:bowtie-1.3.0_samtools-1.16.1--82705d624eee2198' }" input: tuple val(meta), path(reads)