-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
139 lines (128 loc) · 4.01 KB
/
nextflow.config
File metadata and controls
139 lines (128 loc) · 4.01 KB
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
128
129
130
131
132
133
134
135
136
137
138
139
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.7'
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 'nf-schema@2.3.0'
}
// global default parameters for workflows: output buckets are set to staging by default
params {
release_prefix = "2026-03-24"
release_bucket = "s3://openscpca-data-release"
results_bucket = "s3://openscpca-nf-workflow-results-staging"
sim_bucket = "s3://openscpca-test-data-release-staging"
annotations_bucket = "s3://openscpca-celltype-annotations-public-access"
project = "all"
// URIs to reference files
gtf_file = 's3://scpca-nf-references/homo_sapiens/ensembl-104/annotation/Homo_sapiens.GRCh38.104.gtf.gz'
cytoband_file = 'ftp://hgdownload.cse.ucsc.edu/goldenPath/hg38/database/cytoBand.txt.gz'
}
// 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"
// test bucket
release_bucket = "s3://openscpca-test-data-release-public-access"
// local output
results_bucket = "test/stub/results"
sim_bucket = "test/stub/simulated"
annotations_bucket = "test/stub/annotations"
// a small project
project = "SCPCP000012"
// Override large reference files for stub testing
// NBAtlas reference stub
cell_type_nb_04_nbatlas_url = "${projectDir}/modules/cell-type-neuroblastoma-04/resources/test/NBAtlas_test.rds"
// scimilarity model stub
cell_type_scimilarity_model = "modules/cell-type-scimilarity/resources/test/scimilarity_model"
}
process {
executor = 'local'
resourceLimits = [cpus: 2, memory: 4.GB]
}
docker.enabled = false
aws.client.anonymous = true
}
batch {
includeConfig 'config/profile_batch.config'
}
}