nf-core_modules/deprecated/fastq_screen/test/main.nf

31 lines
795 B
Text
Raw Normal View History

#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
params.outdir = "."
params.fastq_screen_args = ''
// fastq_screen_args are best passed in to the workflow in the following manner:
// --fastq_screen_args="--subset 200000 --force"
params.verbose = false
if (params.verbose){
println ("[WORKFLOW] FASTQ SCREEN ARGS ARE: " + params.fastq_screen_args)
}
2020-07-11 12:33:12 +00:00
// TODO: include '../../../tests/functions/check_process_outputs.nf'
include '../main.nf'
// Define input channels
ch_read_files = Channel
.fromFilePairs('../../../test-datasets/Ecoli*{1,2}.fastq.gz',size:-1)
// .view() // to check whether the input channel works
// Run the workflow
workflow {
main:
FASTQ_SCREEN(ch_read_files, params.outdir, params.fastq_screen_args, params.verbose)
// TODO .check_output()
}