-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.nf
61 lines (42 loc) · 1.32 KB
/
main.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
#!/usr/bin/env nextflow
nextflow.enable.dsl=2
/**
===============================
WGS Pipeline
===============================
This Pipeline performs variant calling
using Google DeepVariant
### Homepage / git
git@github.com:ikmb/deepvariant.git
### Implementation
Re-Implemented in Q3 2023
Author: Marc P. Hoeppner, m.hoeppner@ikmb.uni-kiel.de
**/
def summary = [:]
WorkflowMain.initialise(workflow, params, log)
WorkflowDeepvariant.initialise( params, log)
//
// Summary of all options
//
summary['runName'] = params.run_name
summary['Samples'] = params.samples
summary['Current home'] = "$HOME"
summary['Current user'] = "$USER"
summary['Current path'] = "$PWD"
summary['Assembly'] = params.assembly
summary['CommandLine'] = workflow.commandLine
if (workflow.containerEngine) {
summary['Container'] = "$workflow.containerEngine - $workflow.container"
}
summary['SessionID'] = workflow.sessionId
def multiqc_report = Channel.from([])
include { DEEPVARIANT_PIPELINE } from "./workflows/deepvariant_pipeline.nf"
workflow {
DEEPVARIANT_PIPELINE()
multiqc_report = multiqc_report.mix(DEEPVARIANT_PIPELINE.out.qc).toList()
}
workflow.onComplete {
log.info "========================================="
log.info "Duration: $workflow.duration"
log.info "========================================="
}