-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
77 lines (62 loc) · 2.18 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
// ===== set defaults for options
params.library = 'assets/NO_FILE'
params.study = 'TCR'
params.outdir = 'results'
params.get_ma_conf = false
// ===== Include configurations
includeConfig 'configs/modules.config'
// Code from nf-core template, make accessible Institution configs
// Load nf-core custom profiles from different Institutions
params.custom_config_version = 'master'
params.custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}"
try {
includeConfig "${params.custom_config_base}/nfcore_custom.config"
} catch (Exception e) {
System.err.println("WARNING: Could not load nf-core/config profiles: ${params.custom_config_base}/nfcore_custom.config")
}
// ===== Set registry for containers
docker.registry = 'quay.io'
singularity.registry = 'quay.io'
// =====
profiles {
docker {
docker.enabled = true
docker.userEmulation = true
conda.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
conda.enabled = false
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
test { includeConfig 'configs/test.config' }
}
// ===== Enable report files
// Enable nextflow report files with timestamp in file name (nf-core code)
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
timeline {
enabled = true
file = "${params.outdir}/pipeline_info/${trace_timestamp}_execution_timeline.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/${trace_timestamp}_execution_report.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_info/${trace_timestamp}_execution_trace.txt"
}
dag {
enabled = false
file = "${params.outdir}/pipeline_info/${trace_timestamp}_pipeline_dag.html"
}