-
Notifications
You must be signed in to change notification settings - Fork 3
/
nextflow.config
36 lines (35 loc) · 1.02 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
executor{
name = 'crg'
submitRateLimit='5 sec'
}
process{
withName: run_alphafold2 {
container = "/users/cn/abaltzis/sing_cache/alphafold_sylabs_gpu.sif"
//container = 'library://athbaltzis/af2/alphafold:init-release'
memory = 15.GB
cpus = 8
queue = 'long-sl7'
clusterOptions = '-l h_rt=72:00:00'
}
container = 'docker://athbaltzis/pred:v0.9'
queue = 'cn-el7,long-sl7'
clusterOptions = '-l h_rt=480:00:00'
//scratch = true
memory = { (task.attempt < 2 ? (12.GB * task.attempt) :
task.attempt < 3 ? (18.GB * task.attempt) :
task.attempt < 4 ? '30.GB' :
'50.GB')}
errorStrategy = { task.attempt < 4 ? 'retry' : 'finish' }
maxRetries = 3
}
singularity {
enabled = true
autoMounts = true
runOptions = "--bind /nfs/db/alphafold/202112:/db"
//runOptions = "--bind $HOME/db/alphafold:/tmp"
}
trace {
enabled = true
raw = true
fields = 'task_id, hash,native_id,name,status,exit,realtime,%cpu,rss,peak_rss,vmem,peak_vmem,rchar,wchar'
}