-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
127 lines (118 loc) · 3.4 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
manifest {
name = 'openscpca-nf'
description = 'A workflow to run modules from the OpenScPCA project.'
homePage = 'https://github.com/AlexsLemonade/openScPCA-nf'
mainScript = 'main.nf'
defaultBranch = 'main'
version = 'v0.1.2'
nextflowVersion = '>=24.04.0'
contributors = [
{
name = "Joshua A. Shapiro"
affiliation = "Alex's Lemonade Stand Foundation"
contribution = "author"
github = "https://github.com/jashapiro"
orcid = "https://orcid.org/0000-0002-6224-0347"
},
{
name = "Stephanie J. Spielman"
affiliation = "Alex's Lemonade Stand Foundation"
contribution = "author"
github = "https://github.com/sjspielman"
orcid = "https://orcid.org/0000-0002-9090-4788"
},
{
name = "Allegra Hawkins"
affiliation = "Alex's Lemonade Stand Foundation"
contribution = "author"
github = "https://github.com/allyhawkins"
orcid = "https://orcid.org/0000-0001-6026-3660"
}
]
}
nextflow.enable.dsl = 2
nextflow.enable.moduleBinaries = true
plugins {
id '[email protected]'
}
// global default parameters for workflows: output buckets are set to staging by default
params {
release_prefix = "2024-11-25"
release_bucket = "s3://openscpca-data-release"
results_bucket = "s3://openscpca-nf-workflow-results-staging"
sim_bucket = "s3://openscpca-test-data-release-staging"
project = "all"
}
// Load base process config with labels
includeConfig 'config/process_base.config'
// Load container definitions
includeConfig 'config/containers.config'
// include module specific parameters
includeConfig 'config/module_params.config'
profiles {
standard {
process {
executor = 'local'
resourceLimits = [ cpus: 4, memory: 16.GB ]
}
docker.enabled = true
docker.runOptions = '--platform linux/amd64'
}
testing {
params {
release_prefix = "test"
release_bucket = "s3://openscpca-test-data-release-public-access"
results_bucket = "test/results"
sim_bucket = "test/simulated"
project = "SCPCP000012"
}
process {
executor = 'local'
resourceLimits = [ cpus: 4, memory: 16.GB ]
}
docker.enabled = true
docker.runOptions = '--platform linux/amd64'
aws.client.anonymous = true
}
prod {
params {
results_bucket = "s3://openscpca-nf-workflow-results"
sim_bucket = "s3://openscpca-test-data-release-public-access"
}
}
simulated {
params {
release_prefix = "test"
release_bucket = "s3://openscpca-test-data-release-staging"
results_bucket = "s3://openscpca-test-workflow-results-staging"
}
}
prod_simulated {
params {
release_prefix = "test"
release_bucket = "s3://openscpca-test-data-release-public-access"
results_bucket = "s3://openscpca-test-workflow-results-public-access"
}
}
stub {
params {
release_prefix = "test"
release_bucket = "s3://openscpca-test-data-release-public-access" // test bucket
results_bucket = "test/stub/results" // no output
sim_bucket = "test/stub/simulated" // local output
project = "SCPCP000012" // a small project
}
process {
executor = 'local'
resourceLimits = [ cpus: 2, memory: 4.GB ]
}
docker.enabled = false
aws.client.anonymous = true
}
batch {
includeConfig 'config/profile_batch.config'
}
old_batch {
includeConfig 'config/profile_old_batch.config'
}
}