-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.nf
41 lines (28 loc) · 1.07 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
#!/usr/bin/env nextflow
//Call DSL2
nextflow.enable.dsl=2
/* ======================================================================================================
* HELP MENU
* ======================================================================================================
*/
//ver = manifest.version
//Input parameters list
params.help = null
params.outputdir = "results"
//--------------------------------------------------------------------------------------------------------
// Validation - validation from nf-core for input results
include { validateParameters; paramsHelp; paramsSummaryLog; fromSamplesheet } from 'plugin/nf-validation'
if (params.help) {
log.info paramsHelp("nextflow run ...")
exit 0
}
// Validate input parameters
validateParameters()
// Print summary of supplied parameters
log.info paramsSummaryLog(workflow)
//--------------------------------------------------------------------------------------------------------
// Main workflow
include { PBFLOW_WORKFLOW } from './workflows/run_pacbassembly.nf'
workflow {
PBFLOW_WORKFLOW()
}