-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
60 lines (53 loc) · 1.33 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
manifest {
author = "Sergey Abramov"
mainScript = "main.nf"
defaultBranch = "main"
name = "aligning-pipeline"
description = "Aligning pipeline from chromatin accessbility data"
version = "0.1"
nextflowVersion = "22.04.0"
}
// Run with a stricter shell, so errors are caught earlier
process.shell = ['/bin/bash', '-ueo','pipefail' ]
params {
includeConfig './params.config'
}
profiles {
//Pan-environment configuration; modify to computing enviroment specifications
Altius {
process {
executor = "slurm"
queue = "encode4,queue0,pool,queue2,fiber-seq,bigmem,hpcz-2"
memory = { 10.GB * task.attempt }
cache = "lenient"
maxRetries = 3
errorStrategy = {
(task.attempt < 4) && (task.exitStatus in 137..143) ? 'retry' : 'ignore'
}
beforeScript = 'module load apptainer'
clusterOptions = "--tmp=50G"
withLabel: high_mem {
memory = { 10.GB + 20.GB * task.attempt }
maxForks = 600
cpus = 2
}
}
conda.enabled = true
singularity {
enabled = true
autoMounts = true
}
executor {
$slurm {
queueSize = 1200
}
}
// Logging
//trace.enabled = true
//trace.file = "pipeline_trace.txt"
//timeline.enabled = true
//timeline.file = "pipeline_timeline.html"
//report.enabled = true
//report.file = "pipeline_report.html"
}
}