mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
84f2302920
* Correct parsing versions with trailing zeros * Fix test * Update modules/custom/dumpsoftwareversions/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Fix tests and go back to output versions.yml * Update tests/test_versions_yml.py to use BaseLoader Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
24 lines
1.1 KiB
Text
24 lines
1.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { FASTQC } from '../../../../modules/fastqc/main.nf' addParams( options: [:] )
|
|
include { MULTIQC } from '../../../../modules/multiqc/main.nf' addParams( options: [:] )
|
|
include { CUSTOM_DUMPSOFTWAREVERSIONS } from '../../../../modules/custom/dumpsoftwareversions/main.nf' addParams( options: [publish_dir:'custom'] )
|
|
|
|
workflow test_custom_dumpsoftwareversions {
|
|
input = [
|
|
[ id: 'test', single_end: false ],
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
|
|
]
|
|
|
|
FASTQC ( input )
|
|
MULTIQC ( FASTQC.out.zip.collect { it[1] } )
|
|
|
|
ch_software_versions = Channel.empty()
|
|
ch_software_versions = ch_software_versions.mix(FASTQC.out.versions)
|
|
ch_software_versions = ch_software_versions.mix(MULTIQC.out.versions)
|
|
|
|
CUSTOM_DUMPSOFTWAREVERSIONS ( ch_software_versions.collectFile() )
|
|
}
|