nf-core_modules/software/fastqc/test/main.nf

22 lines
644 B
Text
Raw Normal View History

#!/usr/bin/env nextflow
2019-12-05 21:11:12 +00:00
nextflow.preview.dsl = 2
params.outdir = "." // gets set in nextflow.config file (as './results/fastqc')
params.fastqc_args = ''
params.verbose = false
// TODO: check the output files in some way
// include '../../../nf-core/module_testing/check_process_outputs.nf'
include '../main.nf'
2019-12-05 21:11:12 +00:00
// Define input channels
ch_read_files = Channel
.fromFilePairs('../../../test-datasets/test*{1,2}.fastq.gz',size:-1)
// .view() // to check whether the input channel works
2019-12-05 21:11:12 +00:00
// Run the workflow
workflow {
FASTQC (ch_read_files, params.outdir, params.fastqc_args, params.verbose)
2019-12-05 21:11:12 +00:00
// .check_output()
}