nf-core_modules/tests/modules/bases2fastq/main.nf
Edmund Miller 4963ca0570
Add bases2fastq (#2054)
* feat(bases2fastq): nf-core modules create

* test(bases2fastq): Update tests

* docs(bases2fastq): Update meta.yml

* test: Add untar rundir
2022-09-15 13:50:33 +00:00

23 lines
691 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { BASES2FASTQ } from '../../../modules/bases2fastq/main.nf'
include { UNTAR } from '../../../modules/untar/main.nf'
workflow test_bases2fastq {
input = Channel.value([
[ id:'sim-data' ], // meta map
file("https://raw.githubusercontent.com/nf-core/test-datasets/demultiplex/testdata/sim-data/RunManifest.csv", checkIfExists: true),
])
ch_input = input.join(
UNTAR ( [
[ id:'sim-data' ],
file("https://github.com/nf-core/test-datasets/raw/demultiplex/testdata/sim-data/sim-data.tar.gz", checkIfExists: true)
]).untar
)
BASES2FASTQ ( ch_input )
}