-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalling.config
47 lines (36 loc) · 1.08 KB
/
calling.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
trace {
enabled = true
fields = 'name,status,exit,duration,realtime,%cpu,%mem,rss,vmem,wchar'
}
report {
enabled = true
file = '/your/directory/timeline.html.2'
}
timeline {
enabled = true
file = '/your/directory/timeline.html.2'
}
// if you want to keep bam files
params.bwa_cpu = 6
params.bam_outdir = '/your/directory/bamfiles_generated'
process {
executor = 'slurm'
withLabel: bwa {
clusterOptions = { "--cpus-per-task=6 --time=10:0:0 --mem=10G" }
params.thread = 6
}
// picard ValidateSamFile, picard Sort, picard index:
withLabel: short_run {
clusterOptions = { "--cpus-per-task=1 --time=4:0:0 --mem=20G" }
}
// validate picard Dedup variant:
withLabel: long_run {
clusterOptions = { "--cpus-per-task=1 --time=12:0:0 --mem=30G" }
}
withLabel: himem {
clusterOptions = { "--cpus-per-task=1 --time=168:0:0 --mem=50G" }
}
withLabel: medmem {
clusterOptions = { "--cpus-per-task=1 --time=168:0:0 --mem=30G" }
}
}