-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
99 lines (84 loc) · 1.64 KB
/
nextflow.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
99
params {
//global params
//params.cpus=16
//params.mem=30G
reads=null
csv=null
debug=false
outdir="results"
//we make links for bwa index
//we declare bwa variables
aligner="bwa-mem2"
alt_js="bwa-postalt.js"
alt=false
hla=true
ref="NO_FILE"
//we declare elprep variables
dbsnp="NO_FILE"
dbindel="NO_FILE"
elpre_ref="NO_FILE"
}
process {
withName: 'FASTQC' {
cpus = 4
memory = '10 GB'
}
withName: 'BWAMEM' {
cpus = 15
memory = '40 GB'
}
withName: 'MERGEB' {
cpus = 4
memory = '10 GB'
}
withName: 'ELPREP' {
cpus = 20
memory = '200 GB'
}
withName: 'QUALIMAP' {
cpus = 4
memory = '30 GB'
}
withName: 'B2C' {
cpus = 4
memory = '30 GB'
}
withName: 'DEPTH' {
cpus = 4
memory = '30 GB'
}
}
profiles {
uoh {
process {
executor = 'slurm'
queue = 'uohhm'
}
}
conda {
process.conda = '$baseDir/conda.yml'
}
}
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
timeline {
enabled = true
file = "${params.outdir}/pipeline_info/execution_timeline_${trace_timestamp}.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/execution_report_${trace_timestamp}.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_info/execution_trace_${trace_timestamp}.txt"
}
dag {
enabled = true
file = "${params.outdir}/pipeline_info/pipeline_dag_${trace_timestamp}.html"
}
manifest {
defaultBranch = 'main'
homePage = 'https://github.com/digenoma-lab/alnsl'
author = 'Alex Di Genova'
version = '0.0.1'
}