-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
68 lines (67 loc) · 2.12 KB
/
Copy pathnextflow.config
File metadata and controls
68 lines (67 loc) · 2.12 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
includeConfig "${projectDir}/conf/base.config"
params {
sample_sheet = null
basecall_model = "sup@v3.3"
basecall_modifications = "5mCG_5hmCG"
reference = null
regions_bed = null
outdir = null
}
profiles {
hpc {
process {
executor = 'slurm'
queue = 'mpcs.p'
cpus = { 2 * task.attempt }
memory = { 16.GB * task.attempt }
time = { 7.d * task.attempt }
withName: 'ONT_BASECALL' {
queue = 'mpcg.p'
clusterOptions = '--gpus-per-node=4'
cpus = { 16 * task.attempt }
memory = { 96.GB * task.attempt }
time = { 7.d * task.attempt }
containerOptions = '--nv'
}
withName: 'ALIGNMENT|METHYLATION_CALL|VARIANT_CALL' {
queue = 'mpcs.p'
cpus = { 16 * task.attempt }
memory = { 128.GB * task.attempt }
time = { 7.d * task.attempt }
}
withName: 'SPLIT_BAM|MERGE_BAMS' {
queue = 'mpcs.p'
cpus = { 16 * task.attempt }
memory = { 64.GB * task.attempt }
time = { 7.d * task.attempt }
}
}
workDir = "${System.getenv('WORK')}/ont-methpro_work"
singularity.enabled = true
singularity.autoMounts = true
singularity.cacheDir = "${projectDir}/container"
singularity.pullTimeout = '1h'
docker.enabled = false
apptainer.enabled = false
}
docker {
docker.enabled = true
docker.runOptions = '-u $(id -u):$(id -g)'
singularity.enabled = false
apptainer.enabled = false
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
singularity.cacheDir = "${projectDir}/container"
docker.enabled = false
apptainer.enabled = false
}
apptainer {
apptainer.enabled = true
apptainer.autoMounts = true
apptainer.cacheDir = "${projectDir}/container"
docker.enabled = false
singularity.enabled = false
}
}