-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
49 lines (44 loc) · 1.34 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
def time_mod(time, attempt) {(attempt == 1) ? time : (time + (attempt * (time / 2)))}
def memory_mod(memory, attempt) {(attempt == 1) ? memory : (memory + (attempt * (memory / 2)))}
profiles {
slurm {
executor {
$slurm {
queueSize = 200
pollInterval = '30 sec'
}
$local {
cpus = 4
memory = '8G'
}
}
process {
executor = 'slurm'
stageInMode = 'symlink'
errorStrategy = 'retry'
maxRetries = 1
cache = 'lenient'
withLabel: large {
cpus = 16
memory = { memory_mod(96.GB, 1) }
time = { time_mod(4.hour, 1) }
queue = 'genomics'
clusterOptions = '--account=ls25 --qos=genomics'
}
withLabel: big {
cpus = 4
memory = { memory_mod(16.GB, 1) }
time = { time_mod(4.hour, 1) }
queue = 'genomics'
clusterOptions = '--account=ls25 --qos=genomics'
}
}
}
}
manifest {
homePage = 'https://github.com/alexyfyf/atac_nf'
description = 'ATAC-seq analysis Nextflow pipeline'
version = '7f996b7'
mainScript = 'atac.nf'
author = '[email protected]'
}