mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
feat: add meta.id tag (#1116)
* feat: add meat.id tag * fix: actually call the right container for singularity
This commit is contained in:
parent
7006699ff8
commit
6510a7ff4f
2 changed files with 10 additions and 8 deletions
|
@ -1,12 +1,13 @@
|
|||
process ENSEMBLVEP {
|
||||
tag "$meta.id"
|
||||
label 'process_medium'
|
||||
|
||||
conda (params.enable_conda ? "bioconda::ensembl-vep=104.3" : null)
|
||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
!task.ext.container_tag ?
|
||||
container "${ task.ext.container_tag ?
|
||||
"nfcore/vep:${task.ext.container_tag}" :
|
||||
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' :
|
||||
"nfcore/vep:${task.ext.container_tag}" }"
|
||||
'quay.io/biocontainers/ensembl-vep:104.3--pl5262h4a94de4_0' }"
|
||||
|
||||
input:
|
||||
tuple val(meta), path(vcf)
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
process SNPEFF {
|
||||
tag "$meta.id"
|
||||
label 'process_medium'
|
||||
|
||||
conda (params.enable_conda ? "bioconda::snpeff=5.0" : null)
|
||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
!task.ext.container_tag ?
|
||||
container "${ task.ext.container_tag ?
|
||||
"nfcore/snpeff:${task.ext.container_tag}" :
|
||||
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' :
|
||||
"nfcore/snpeff:${task.ext.container_tag}" }"
|
||||
'quay.io/biocontainers/snpeff:5.0--hdfd78af_1' }"
|
||||
|
||||
input:
|
||||
tuple val(meta), path(vcf)
|
||||
|
|
Loading…
Reference in a new issue