-
Notifications
You must be signed in to change notification settings - Fork 11
/
main.nf
26 lines (23 loc) · 1.15 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
#!/usr/bin/env nextflow
nextflow.enable.dsl=2
include { CALL_STAPHYLOCOCCUS_AUREUS } from './workflows/staphylococcus_aureus.nf'
include { CALL_MYCOBACTERIUM_TUBERCULOSIS } from './workflows/mycobacterium_tuberculosis.nf'
include { CALL_KLEBSIELLA_PNEUMONIAE } from './workflows/klebsiella_pneumoniae.nf'
include { CALL_ESCHERICHIA_COLI } from './workflows/escherichia_coli.nf'
include { CALL_STREPTOCOCCUS_PYOGENES } from './workflows/streptococcus_pyogenes.nf'
include { CALL_STREPTOCOCCUS } from './workflows/streptococcus.nf'
workflow {
if (workflow.profile == "staphylococcus_aureus") {
CALL_STAPHYLOCOCCUS_AUREUS()
} else if (workflow.profile == "mycobacterium_tuberculosis") {
CALL_MYCOBACTERIUM_TUBERCULOSIS()
} else if (workflow.profile == "klebsiella_pneumoniae") {
CALL_KLEBSIELLA_PNEUMONIAE()
} else if (workflow.profile == "escherichia_coli") {
CALL_ESCHERICHIA_COLI()
} else if (workflow.profile == "streptococcus_pyogenes") {
CALL_STREPTOCOCCUS_PYOGENES()
} else if (workflow.profile == "streptococcus") {
CALL_STREPTOCOCCUS()
}
}