-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.nf
63 lines (40 loc) · 1.36 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
61
62
63
#!/usr/bin/env nextflow
/*
----------------------------------------------------------------------------------------
NBISweden/NanoSeq
GitHub: https://github.com/NBISweden/NanoSeq
This workflow is a modified version of the original NanoSeq workflow (https://github.com/cancerit/NanoSeq), and was started from a fork off the original project (https://github.com/fa8sanger/NanoSeq, commit 31e34bf).
Contributors to this version:
- Cormac Kinsella (cormac.kinsella@nbis.se)
The original software was licensed under the GNU Affero General Public License v3.0, as is this modified version.
Changes made to the original codebase are summarised in the CHANGES.md file, and detailed in the repo commit history.
----------------------------------------------------------------------------------------
*/
// Imports
include { INITIALISE } from './subworkflows/initialise.nf'
include { NANOSEQ } from './workflows/nanoseq.nf'
// Entry workflow
workflow {
main:
INITIALISE ()
NANOSEQ (
INITIALISE.out.ch_samplesheet,
INITIALISE.out.ch_reference,
)
publish:
NANOSEQ.out.ch_efficiency_tsv >> 'efficiency'
NANOSEQ.out.ch_versions >> 'package_versions'
}
// Publish outputs
output {
efficiency {
path 'efficiency_reports'
mode 'copy'
overwrite true
}
package_versions {
path 'package_versions'
mode 'copy'
overwrite false
}
}