-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.getFQ.nf
126 lines (103 loc) · 2.27 KB
/
config.getFQ.nf
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
profiles {
local {
process.maxForks = 1
process.executor='local'
env{
TMPDIR='./'
}
}
slurm {
process.executor='slurm'
process.scratch = '/lscratch/$SLURM_JOBID'
process.clusterOptions = ' --gres=lscratch:800 '
env{
TMPDIR='/lscratch/$SLURM_JOBID'
}
}
standard {
process.executor='slurm'
process.scratch = '/lscratch/$SLURM_JOBID'
process.clusterOptions = ' --gres=lscratch:800 '
env{
TMPDIR='/lscratch/$SLURM_JOBID'
}
}
}
params.outdir = './nxfOut'
report {
enabled = false
}
timeline {
enabled = false
}
trace {
enabled = false
}
manifest {
description = '2020: Kevin Brick'
}
process {
//MODULE DETAILS
$getSRAfiles.module = ['sratoolkit/2.9.2','picard/2.9.2','samtools/1.8']
$getFromObjectStore.module = ['sratoolkit/2.9.2','picard/2.9.2','samtools/1.8']
$bamToFastq.module = ['picard/2.9.2','samtools/1.8']
$initFQtoFQ_PE.module = ['picard/2.9.2','samtools/1.8']
$initFQtoFQ_SR.module = ['picard/2.9.2','samtools/1.8']
$fastQCall.module = ['fastqtools/0.8','fastqc/0.11.8','bwa/0.7.17']
$mergeFQ.module = ['fastqtools/0.8']
project = 'SSDS_alignment_Pipeline'
// Defaults maxs
max_memory = 128.GB
max_cpus = 16
max_time = 240.h
//DEFAULT PROCESS PROPS
cpus = { 1 * task.attempt }
memory = { 8.GB * task.attempt }
time = { 2.h * task.attempt }
errorStrategy = { task.exitStatus == 143 ? 'retry' : 'finish' }
maxRetries = 2
maxErrors = '-1'
echo = true
//PROCESS-SPECIFIC RESOURCES
$getSRAfiles {
cpus = { 2 }
memory = { 4.GB }
time = { 6.hour * task.attempt }
}
$getFromObjectStore {
cpus = { 4 }
memory = { 8.GB }
time = { 6.hour * task.attempt }
}
$bamToFastq {
cpus = { 4 }
memory = { 16.GB * task.attempt }
time = { 6.hour * task.attempt }
}
$initFQtoFQ_PE {
cpus = { 8 }
memory = { 32.GB }
time = { 6.hour * task.attempt }
}
$initFQtoFQ_SR {
cpus = { 8 }
memory = { 32.GB }
time = { 6.hour * task.attempt }
}
$fastQCall {
cpus = { 12 }
memory = { 32.GB }
time = { 8.hour * task.attempt }
}
$mergeFQ {
cpus = { 8 }
memory = { 16.GB }
time = { 12.hour * task.attempt }
}
$omitFQ {
cpus = { 2 }
memory = { 2.GB }
time = { 0.2.hour * task.attempt }
clusterOptions = ' --gres=lscratch:60'
}
}