mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
greatly simplify syntax (#1121)
This commit is contained in:
parent
6510a7ff4f
commit
3b366c7c6a
4 changed files with 8 additions and 12 deletions
|
@ -3,9 +3,7 @@ process ENSEMBLVEP {
|
|||
label 'process_medium'
|
||||
|
||||
conda (params.enable_conda ? "bioconda::ensembl-vep=104.3" : null)
|
||||
container "${ task.ext.container_tag ?
|
||||
"nfcore/vep:${task.ext.container_tag}" :
|
||||
workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
'https://depot.galaxyproject.org/singularity/ensembl-vep:104.3--pl5262h4a94de4_0' :
|
||||
'quay.io/biocontainers/ensembl-vep:104.3--pl5262h4a94de4_0' }"
|
||||
|
||||
|
|
|
@ -3,9 +3,7 @@ process SNPEFF {
|
|||
label 'process_medium'
|
||||
|
||||
conda (params.enable_conda ? "bioconda::snpeff=5.0" : null)
|
||||
container "${ task.ext.container_tag ?
|
||||
"nfcore/snpeff:${task.ext.container_tag}" :
|
||||
workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
'https://depot.galaxyproject.org/singularity/snpeff:5.0--hdfd78af_1' :
|
||||
'quay.io/biocontainers/snpeff:5.0--hdfd78af_1' }"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ process {
|
|||
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
||||
|
||||
withName: ENSEMBLVEP {
|
||||
ext.container_tag = '104.3.WBcel235'
|
||||
container = 'nfcore/vep:104.3.WBcel235'
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ process {
|
|||
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
||||
|
||||
withName: SNPEFF {
|
||||
ext.container_tag = '5.0.WBcel235'
|
||||
container = 'nfcore/snpeff:5.0.WBcel235'
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue