2021-04-09 07:31:38 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 09:10:18 +00:00
|
|
|
include { NANOPLOT } from '../../../modules/nanoplot/main.nf' addParams( options: [:] )
|
2021-04-09 07:31:38 +00:00
|
|
|
|
|
|
|
workflow test_nanoplot_summary {
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
[ file(params.test_data['sarscov2']['nanopore']['test_sequencing_summary'], checkIfExists: true) ] ]
|
|
|
|
|
|
|
|
NANOPLOT ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_nanoplot_fastq {
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
[ file(params.test_data['sarscov2']['nanopore']['test_fastq_gz'], checkIfExists: true) ] ]
|
|
|
|
|
|
|
|
NANOPLOT ( input )
|
|
|
|
}
|