forked from nf-core/rnaseq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.config
More file actions
107 lines (101 loc) · 3.35 KB
/
base.config
File metadata and controls
107 lines (101 loc) · 3.35 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
* -------------------------------------------------
* 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 = params.container
cpus = { check_max( 2, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 2.h * task.attempt, 'time' ) }
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : 'terminate' }
maxRetries = 3
maxErrors = '-1'
// Process-specific resource requirements
withName:makeSTARindex {
cpus = { check_max( 10, 'cpus' ) }
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
time = { check_max( 5.h * task.attempt, 'time' ) }
}
withName:makeHISATindex {
cpus = { check_max( 10, 'cpus' ) }
memory = { check_max( 200.GB * task.attempt, 'memory' ) }
time = { check_max( 5.h * task.attempt, 'time' ) }
}
withName:trim_galore {
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
withName:star {
cpus = { check_max (10, 'cpus')}
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
withName:hisat2Align {
cpus = { check_max( 8, 'cpus' ) }
memory = { check_max( 64.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
withName:hisat2_sortOutput {
cpus = { check_max( 4, 'cpus' ) }
memory = { check_max( 32.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
withName:rseqc {
cpus = { check_max( 8, 'cpus' ) }
memory = { check_max( 32.GB * task.attempt, 'memory' ) }
time = { check_max( 7.h * task.attempt, 'time' ) }
errorStrategy = 'ignore'
}
withName:createBigWig {
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
memory = { check_max( 32.GB * task.attempt, 'memory' ) }
time = { check_max( 7.h * task.attempt, 'time' ) }
}
withName:genebody_coverage {
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 32.GB * task.attempt, 'memory' ) }
time = { check_max( 7.h * task.attempt, 'time' ) }
}
withName:markDuplicates {
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
}
withName:dupradar {
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
}
withName:featureCounts {
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
}
withName:sample_correlation {
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
}
withName:multiqc {
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
errorStrategy = 'ignore'
}
withName:get_software_versions {
memory = { check_max( 2.GB, 'memory' ) }
cache = false
errorStrategy = 'ignore'
}
withName:workflow_summary_mqc {
cpus = { check_max (1, 'cpus') }
memory = { check_max( 2.GB, 'memory' ) }
cache = false
executor = 'local'
errorStrategy = 'ignore'
}
}
params {
// Defaults only, expecting to be overwritten
max_memory = 128.GB
max_cpus = 16
max_time = 240.h
igenomes_base = 's3://ngi-igenomes/igenomes/'
}