-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
60 lines (50 loc) · 1.45 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
includeConfig 'external-modules/spark/nextflow.config'
manifest {
name = 'expansion-microscopy-pipeline'
author = 'Janelia Scientific Computing Software'
homePage = 'https://github.com/JaneliaSciComp/expansion-microscopy-pipeline'
description = 'Analysis pipelines for Expansion Microscopy'
nextflowVersion = '>=20.10.0'
version = '1.0.0'
}
params {
lsf_opts = ''
runtime_opts = ''
singularity_cache_dir = "$HOME/.singularity_cache"
vmf = '-B' // volume mounting flag
}
profiles {
standard {
docker.enabled = false
singularity.enabled = true
}
lsf {
process {
executor = 'lsf'
beforeScript = 'echo "Host: $HOSTNAME"'
clusterOptions = params.lsf_opts
withLabel: withGPU {
queue = 'gpu_rtx'
clusterOptions = '-gpu "num=1" ' + params.lsf_opts
}
withLabel: withAVX2 {
clusterOptions = '-R"select[avx2]" ' + params.lsf_opts
}
withLabel: preferLocal {
executor = 'local'
}
}
docker.enabled = false
singularity.enabled = true
}
localdocker {
docker.enabled = true
singularity.enabled = false
params.vmf = '-v'
}
}
singularity {
autoMounts = true
cacheDir = "${params.singularity_cache_dir}"
runOptions = "--nv -e --env USER=$USER ${params.runtime_opts}"
}