mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
f32dc15414
* update bclconvert module, as used in nf-core/demultiplex * reconfigure test with new test data * update test * formatting * update outputs, update meta * update module and test * update test config, test.yml * fix linting * emit logs and reports as dir * fix typo, recreate test.yml * fix linting Co-authored-by: CMGG ICT Team <ict@cmgg.be>
23 lines
761 B
Text
23 lines
761 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BCLCONVERT } from '../../../modules/bclconvert/main.nf'
|
|
include { UNTAR } from '../../../modules/untar/main.nf'
|
|
|
|
workflow test_bclconvert {
|
|
ch_flowcell = Channel.value([
|
|
[id:'test', lane:1 ], // meta map
|
|
file(params.test_data['homo_sapiens']['illumina']['test_flowcell_samplesheet'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test_flowcell'], checkIfExists: true)])
|
|
|
|
ch_flowcell
|
|
.multiMap { meta, ss, run ->
|
|
samplesheet: [meta, ss]
|
|
tar: [meta, run]
|
|
}.set{ ch_fc_split }
|
|
|
|
ch_flowcell_untar = ch_fc_split.samplesheet.join( UNTAR ( ch_fc_split.tar ).untar )
|
|
|
|
BCLCONVERT (ch_flowcell_untar)
|
|
}
|