-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
45 lines (39 loc) · 1.21 KB
/
nextflow.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
manifest {
name = 'Sage-Bionetworks-Workflows/nf-synapse'
author = 'Brad Macdonald'
homePage = 'https://github.com/Sage-Bionetworks-Workflows/nf-synapse'
description = 'Synapse Operations for Nextflow'
mainScript = 'main.nf'
nextflowVersion = '>=22.04.0'
version = '0.0.1'
defaultBranch = 'main'
}
profiles {
conda { process.conda = "$baseDir/environment.yml" }
docker { docker.enabled = true }
}
process {
maxErrors = '-1'
maxRetries = 5
errorStrategy = { task.attempt <= 5 ? 'retry' : 'finish' }
cpus = 1
memory = 6.GB
time = 24.h
withLabel: synapse {
container = 'sagebionetworks/synapsepythonclient:v4.2.0'
}
withLabel: aws {
container = 'ghcr.io/sage-bionetworks-workflows/aws-cli:1.0'
}
}
params {
// Config options
custom_config_version = 'master'
custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}"
}
// Load nf-core custom profiles from different institutions
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")
}