mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
4963ca0570
* feat(bases2fastq): nf-core modules create * test(bases2fastq): Update tests * docs(bases2fastq): Update meta.yml * test: Add untar rundir
23 lines
691 B
Text
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 )
|
|
}
|