Skip to content

Commit

Permalink
Updating container directives.
Browse files Browse the repository at this point in the history
  • Loading branch information
emarinier committed Aug 16, 2024
1 parent cec63d1 commit 5048691
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/local/arborator/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ process ARBORATOR {

container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/arborator%3A1.0.0--pyhdfd78af_1' :
'quay.io/biocontainers/arborator:1.0.0--pyhdfd78af_1' }"
'biocontainers/arborator:1.0.0--pyhdfd78af_1' }"

input:
path merged_profiles // The allelic profiles
Expand Down
6 changes: 4 additions & 2 deletions modules/local/arborview.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ process ARBOR_VIEW {
stageInMode 'copy' // Need to copy in arbor view html

container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
"docker.io/python:3.11.6" :
"docker.io/python:3.11.6" }"
'docker.io/python:3.11.6' :
task.ext.override_configured_container_registry != false ?
'docker.io/python:3.11.6' :
'python:3.11.6' }"

input:
tuple val(cluster_group), path(tree), path(contextual_data)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/locidex/merge/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process LOCIDEX_MERGE {

container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/locidex:0.1.1--pyhdfd78af_0' :
'quay.io/biocontainers/locidex:0.1.1--pyhdfd78af_0' }"
'biocontainers/locidex:0.1.1--pyhdfd78af_0' }"

input:
path input_values // [file(sample1), file(sample2), file(sample3), etc...]
Expand Down
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ docker.registry = 'quay.io'
podman.registry = 'quay.io'
singularity.registry = 'quay.io'

// Override the default Docker registry when required
process.ext.override_configured_container_registry = true

// Nextflow plugins
plugins {
id '[email protected]' // Validation of pipeline parameters and creation of an input channel from a sample sheet
Expand Down

0 comments on commit 5048691

Please sign in to comment.