-
Notifications
You must be signed in to change notification settings - Fork 2
/
nextflow.config
38 lines (31 loc) · 1.14 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
// default parameters
params {
publish_dir_mode = "link"
}
//enable singularity
singularity.enabled = true
singularity.autoMounts = true
singularity.runOptions = "--env NUMBA_CACHE_DIR=/tmp/\$USER/numba_cache_dir"
// ensure that no user libraries get mounted into the container
process.containerOptions = "--no-home"
// profiles define how to run the workflow on your HPC or cloud.
// Adjust the settings as appropriate
profiles {
icbi_liver {
params.publish_dir_mode = "link"
process {
// Only use nodes of the newer CPU generation
// GPU nodes will be requiested on a per-process basis for some processes.
executor = 'sge'
penv = 'smp'
clusterOptions = '-V -R y -S /bin/bash -l avx'
// special configuration for the two GPU processes
withName: ".*SCVI.*" {
// support for nvidia https://lucacozzuto.medium.com/using-gpu-within-nextflow-19cd185d5e69
containerOptions = "--nv --no-home"
clusterOptions = '-V -S /bin/bash -q all.q@apollo-15'
}
}
}
}
includeConfig 'conf/modules.config'