-
Notifications
You must be signed in to change notification settings - Fork 57
/
nextflow.config
95 lines (75 loc) · 2.09 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
// Execution environment for miscellaneous tasks
params.roadie = 'ghcr.io/labsyspharm/mcmicro:roadie-2023-10-25'
// The mode for transfering output between work and project directories
params.publish_dir_mode = 'copy'
// Platform-specific profiles
profiles {
/****************************
* Platform-specific configs *
****************************/
// Default profile, best suited for local runs
standard {
includeConfig 'config/nf/docker.config'
}
// Profile for using singularity to run module containers
singularity {
includeConfig 'config/nf/singularity.config'
}
// Profile specific to the HMS compute cluster
O2 {
includeConfig 'config/nf/O2base.config'
singularity.cacheDir = '/n/groups/lsp/mcmicro/singularity'
}
// Same as O2, but for external users not in the `lsp` group
O2ext {
includeConfig 'config/nf/O2base.config'
singularity.cacheDir = "$HOME/.mcmicro"
}
// Amazon Web Services
AWS {
includeConfig 'config/nf/aws.config'
}
// Nextflow tower
tower {
includeConfig 'config/nf/tower.config'
}
/****************************
* Resource-specific configs *
****************************/
WSI {
includeConfig 'config/nf/wsi.config'
}
TMA {
includeConfig 'config/nf/tma.config'
}
GPU {
docker.runOptions = '--cpus 0.000 -u root --entrypoint "" --gpus all'
singularity.runOptions = '-C -H "$PWD" --nv'
process{
withName: 'segmentation:worker' {
queue = 'gpu'
clusterOptions = '--gres=gpu:1'
}
}
}
/**************************
* Backwards compatibility *
**************************/
// Profiles below this line are deprecated
// Left here for backwards compatibility
// Same as -profile O2,WSI
O2WSI {
includeConfig 'config/nf/O2base.config'
includeConfig 'config/nf/wsi.config'
}
// Same as -profile O2,TMA
O2TMA {
includeConfig 'config/nf/O2base.config'
includeConfig 'config/nf/tma.config'
}
// Same as -profile O2,WSI
O2massive {
includeConfig 'config/nf/O2base.config'
includeConfig 'config/nf/wsi.config'
}
}