Skip to content

Commit

Permalink
Enable Singularity containerization in nextflow.config
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianMohr committed Jul 26, 2023
1 parent 8ab5c4e commit ff93682
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,22 @@ profiles {
}
conda {
conda.enabled = true
singularity.enabled = false
params.enable_conda = true
conda.createTimeout = "120 min"
}
mamba {
conda.enabled = true
conda.useMamba = true
singularity.enabled = false
params.enable_conda = true
conda.createTimeout = "120 min"
conda.useMamba = true
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
conda.enabled = false
params.enable_conda = false
}
test {
includeConfig 'conf/test.config'
Expand All @@ -70,6 +78,11 @@ env {
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']

// Set default registry for Singularity independent of -profile
// Will not be used unless Singularity is enabled
// Set to your registry if you have a mirror of containers
singularity.registry = 'quay.io'

def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
timeline {
enabled = true
Expand Down

0 comments on commit ff93682

Please sign in to comment.