Repository navigation
Expand file tree
/
Copy pathnextflow.config
More file actions
executable file
·146 lines (129 loc) · 3.74 KB
/
Copy pathnextflow.config
File metadata and controls
executable file
·146 lines (129 loc) · 3.74 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
140
141
142
143
144
145
146
plugins {
// Parameter validation, --help and the launch summary, from nextflow_schema.json
id 'nf-schema@3.0.0'
}
// Nextflow flags
nextflow.enable.configProcessNamesValidation = false
nextflow.enable.moduleBinaries = true
// Unscoped options
workDir = "nf-work"
// Global default params, used in configs. Types, enums and cross-parameter rules live in nextflow_schema.json
params {
// Input/output options
samples = null
on_irods = false
ignore_extensions = null // Only with --on_irods; the default list is in configs/irods_loadcatalog.config
outdir = "results"
publish_mode = 'copy'
// CellBender options
version = "0.3"
cells = null // Only for version 0.2 when .h5 file or .mtx file is provided
droplets = null // Only for version 0.2 when .h5 file or .mtx file is provided
mapper_preset = false
starsolo_mapper = "GeneFull"
exclude_features = null
epochs = null
fpr = null
lr = null
min_umi = null
force_empty_umi_prior = null
estimator = null // Only for version 0.3; CellBender defaults to "mckp"
qc_mode = 3
// Cluster options
gpuqueue = "gpu"
costcode = null // Only for (and required by) "cub" and "tiger" queues
ignore_failed = false
// Generic options
help = false
helpFull = false
showHidden = false
}
// Singularity environment parameters
singularity {
enabled = true
autoMounts = true
cacheDir = '/nfs/cellgeni/singularity/images/'
runOptions = '-B /lustre,/nfs'
pullTimeout = '100m'
}
// Configuring LSF job submission parameters for each process
executor {
name = 'lsf'
perJobMemLimit = true
}
process {
errorStrategy = 'retry'
maxRetries = 5
}
// Published outputs are declared in the output block of main.nf. Set after params so
// the defaults are visible. Copy by default, so the results survive deleting nf-work/
outputDir = params.outdir
workflow {
output {
mode = params.publish_mode
}
}
// Load process configurations
includeConfig 'configs/irods_loadcatalog.config'
includeConfig 'configs/cellbender_removebackground.config'
includeConfig 'configs/cellbender_qc.config'
includeConfig 'configs/multiqc.config'
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']
// Capturing Nextflow log files into a reports directory
timeline {
enabled = true
file = "execution-reports/timeline.html"
overwrite = true
}
report {
enabled = true
file = "execution-reports/report.html"
overwrite = true
}
trace {
enabled = true
file = "execution-reports/trace.txt"
overwrite = true
}
// Manifest
manifest {
name = 'cellgeni/nf-cellbender'
homePage = 'https://github.com/cellgeni/nf-cellbender'
description = "Nextflow pipeline to run CellBender"
mainScript = 'main.nf'
nextflowVersion = '!>=26.04.0'
version = '26-295'
defaultBranch = 'main'
contributors = [
[
name: 'Simon Murray',
github: 'just-simon-5',
contribution: ['author'],
],
[
name: 'Aljes Binkevich',
email: 'ab76@sanger.ac.uk',
github: 'claptar',
contribution: ['maintainer', 'contributor'],
],
[
name: 'Batuhan Cakir',
email: 'bc8@sanger.ac.uk',
github: 'cakirb',
contribution: ['contributor'],
],
[
name: 'Pavel Mazin',
email: 'pm19@sanger.ac.uk',
github: 'iaaka',
contribution: ['contributor'],
],
[
name: 'Martin Prete',
email: 'martin.prete@sanger.ac.uk',
github: 'prete',
contribution: ['contributor'],
],
]
}