This repository was archived by the owner on Apr 19, 2018. It is now read-only.
forked from nf-core/exoseq
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbase.config
86 lines (72 loc) · 2.47 KB
/
base.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
vim: syntax=groovy
-*- mode: groovy;-*-
* -------------------------------------------------
* Nextflow base config file
* -------------------------------------------------
* A 'blank slate' config file, appropriate for general
* use on most high performace compute environments.
* Assumes that all software is installed and available
* on the PATH. Runs in `local` mode - all jobs will be
* run on the logged in environment.
*/
process {
container = { "nf-core/exoseq:${workflow.revision ? workflow.revision : 'latest'}" }
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 2.h * task.attempt, 'time' ) }
errorStrategy = { task.exitStatus in [143,137] ? 'retry' : 'finish' }
maxRetries = 2
maxErrors = '-1'
// Process-specific resource requirements
$fastqc {
time = { check_max( 12.h * task.attempt, 'time' ) }
}
$trim_galore {
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
time = { check_max( 16.h * task.attempt, 'time' ) }
}
$bwamem {
cpus = { check_max( 14 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 16.h * task.attempt, 'time' ) }
}
$makeBWAIndex{
time = { check_max( 8.h * task.attempt, 'time' ) }
}
$sortSam {
cpus = { check_max( 14 * task.attempt, 'cpus' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
$makeFastaIndex {
container = 'shub://qbicsoftware/qbic-singularity-samtools'
time = { check_max( 8.h * task.attempt, 'time' ) }
}
$markDuplicates {
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
cpus = { check_max( 7 * task.attempt, 'cpus' ) }
time = 8.h
}
$recal_bam_files {
cpus = { check_max( 14 * task.attempt, 'cpus' ) }
time = { check_max( 20.h * task.attempt, 'time' ) }
}
$applyBQSR{
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
time = { check_max( 20.h * task.attempt, 'time' ) }
}
$realign {
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
time = { check_max( 16.h * task.attempt, 'time' ) }
}
$qualiMap {
container = 'shub://qbicsoftware/qbic-singularity-qualimap2'
cpus = { check_max( 14 * task.attempt, 'cpus' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
}
$variantCall {
cpus = { check_max( 14 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
}