forked from eQTL-Catalogue/qtlmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.config
98 lines (92 loc) · 2.97 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
87
88
89
90
91
92
93
94
95
96
97
98
/*
* -------------------------------------------------
* nf-core/qtlmap 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 {
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
maxRetries = 3
maxErrors = '-1'
// errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'terminate' }
errorStrategy = 'retry'
// Process-specific resource requirements
withName: extract_variant_info {
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
cpus = 1
time = { check_max( 6.h * task.attempt, 'time' ) }
}
withName: prepare_molecular_traits {
memory = { check_max( 20.GB * task.attempt, 'memory' ) }
cpus = 1
}
withName: compress_bed {
memory = 100.MB
cpus = 1
}
withName: extract_samples_from_vcf {
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
cpus = 1
time = { check_max( 8.h * task.attempt, 'time' ) }
}
withName: make_pca_covariates {
memory = { check_max( 12.GB * task.attempt, 'memory' ) }
cpus = 4
}
withName: run_permutation {
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
cpus = 1
time = { check_max( 12.h * task.attempt, 'time' ) }
}
withName: run_nominal {
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
cpus = 1
time = { check_max( 4.h * task.attempt, 'time' ) }
}
withName: merge_nominal_batches {
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
cpus = 1
time = { check_max( 12.h * task.attempt, 'time' ) }
}
withName: merge_permutation_batches {
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
cpus = 1
time = { check_max( 12.h * task.attempt, 'time' ) }
}
withName: sort_qtltools_output {
memory = { check_max( 32.GB * task.attempt, 'memory' ) }
cpus = { check_max( 10, 'cpus' ) }
time = { check_max( 24.h * task.attempt, 'time' ) }
}
withName: join_rsids_var_info {
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
cpus = { check_max( 2, 'cpus' ) }
time = { check_max( 24.h * task.attempt, 'time' ) }
}
withName: reformat_sumstats {
memory = { check_max( 32.GB * task.attempt, 'memory' ) }
cpus = { check_max( 2, 'cpus' ) }
time = { check_max( 72.h * task.attempt, 'time' ) }
}
withName: tabix_index {
memory = 1.GB
cpus = 1
}
withName: run_susie {
memory = { check_max( 24.GB * task.attempt, 'memory' ) }
cpus = { check_max( 2, 'cpus' ) }
time = { check_max( 24.h * task.attempt, 'time' ) }
}
}
params {
// Defaults only, expecting to be overwritten
max_memory = 128.GB
max_cpus = 16
max_time = 120.h
}