2019-12-05 14:57:32 +00:00
|
|
|
#!/usr/bin/env nextflow
|
2019-12-05 21:11:12 +00:00
|
|
|
nextflow.preview.dsl = 2
|
|
|
|
include '../../../nf-core/module_testing/check_process_outputs.nf' params(params)
|
|
|
|
include '../main.nf' params(params)
|
2019-12-05 14:57:32 +00:00
|
|
|
|
2019-12-05 21:11:12 +00:00
|
|
|
// Define input channels
|
|
|
|
readPaths = [
|
2019-12-06 08:24:33 +00:00
|
|
|
['SRR4238351', ['../../../test-datasets/tools/fastqc/input/SRR4238351_subsamp.fastq.gz']],
|
|
|
|
['SRR4238355', ['../../../test-datasets/tools/fastqc/input/SRR4238355_subsamp.fastq.gz']],
|
|
|
|
['SRR4238359', ['../../../test-datasets/tools/fastqc/input/SRR4238359_subsamp.fastq.gz']],
|
|
|
|
['SRR4238379', ['../../../test-datasets/tools/fastqc/input/SRR4238379_subsamp.fastq.gz']]
|
2019-12-05 21:11:12 +00:00
|
|
|
]
|
|
|
|
Channel
|
|
|
|
.from(readPaths)
|
2019-12-06 09:15:49 +00:00
|
|
|
.map { row -> [ row[0], [ file(row[1][0]) ] ] }
|
2019-12-05 21:11:12 +00:00
|
|
|
.set { ch_read_files }
|
2019-12-05 14:57:32 +00:00
|
|
|
|
2019-12-05 21:11:12 +00:00
|
|
|
// Run the workflow
|
|
|
|
workflow {
|
|
|
|
fastqc(ch_read_files)
|
|
|
|
// .check_output()
|
2019-12-05 14:57:32 +00:00
|
|
|
}
|