feat: Add nf-core config parameters
This commit is contained in:
parent
3e6a0ca5df
commit
137804518f
1 changed files with 24 additions and 0 deletions
|
@ -1,3 +1,21 @@
|
|||
params {
|
||||
reference = null
|
||||
|
||||
// Config options
|
||||
config_profile_name = null
|
||||
config_profile_description = null
|
||||
custom_config_version = 'master'
|
||||
custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}"
|
||||
config_profile_contact = null
|
||||
config_profile_url = null
|
||||
|
||||
// Max resource options
|
||||
// Defaults only, expecting to be overwritten
|
||||
max_memory = '128.GB'
|
||||
max_cpus = 16
|
||||
max_time = '240.h'
|
||||
}
|
||||
|
||||
process {
|
||||
errorStrategy = 'finish'
|
||||
time = '7d'
|
||||
|
@ -11,6 +29,12 @@ process {
|
|||
}
|
||||
}
|
||||
|
||||
try {
|
||||
includeConfig "${params.custom_config_base}/nfcore_custom.config"
|
||||
} catch (Exception e) {
|
||||
System.err.println("WARNING: Could not load nf-core/config profiles: ${params.custom_config_base}/nfcore_custom.config")
|
||||
}
|
||||
|
||||
singularity.enabled = true
|
||||
|
||||
env {
|
||||
|
|
Loading…
Reference in a new issue