forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnci_gadi.config
More file actions
58 lines (53 loc) · 2.13 KB
/
nci_gadi.config
File metadata and controls
58 lines (53 loc) · 2.13 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
// NCI Gadi nf-core configuration profile
profiles {
nci_gadi {
params {
config_profile_description = 'nf-core/proteinfold NCI Gadi HPC profile provided by nf-core/configs'
config_profile_contact = 'Mitchell O\'Brien (@mitchob)'
config_profile_url = 'https://opus.nci.org.au/display/Help/Gadi+User+Guide'
project = System.getenv("PROJECT")
storage_account = ''
}
// Define process resource limits
process {
executor = 'pbspro'
project = System.getenv("PROJECT")
storage = params.storage_account?.trim() ? params.storage_account : "scratch/${params.project}+gdata/${params.project}"
module = 'singularity'
cache = 'lenient'
stageInMode = 'symlink'
// Process-specific configurations
withName: 'RUN_ALPHAFOLD2|RUN_ALPHAFOLD2_PRED|RUN_ALPHAFOLD2_MSA' {
queue = params.use_gpu ? 'gpuvolta' : 'normal'
cpus = 48
gpus = 4
time = '4h'
memory = 380.GB
}
withName: COLABFOLD_BATCH {
container = "nf-core/proteinfold_colabfold:1.1.1"
queue = params.use_gpu ? 'gpuvolta' : 'normal'
cpus = 48
gpus = 4
time = '4h'
memory = 380.GB
}
withName: RUN_ESMFOLD {
container = "nf-core/proteinfold_esmfold:1.1.1"
queue = params.use_gpu ? 'gpuvolta' : 'normal'
cpus = 48
gpus = 4
time = '4h'
memory = 380.GB
}
}
// Write custom trace file with outputs required for SU calculation
def trace_timestamp = new java.util.Date().format('yyyy-MM-dd_HH-mm-ss')
trace {
enabled = true
overwrite = false
file = "./gadi-nf-core-trace-${trace_timestamp}.txt"
fields = 'name,status,exit,duration,realtime,cpus,%cpu,memory,%mem,rss'
}
}
}