mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
4b1d4bf401
* Update main.nf * Update meta.yml * Re-add logos as not staged in a way that works with MultiQC config files * Add support for secondary custom configs
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { FASTQC } from '../../../modules/fastqc/main.nf'
|
|
include { FASTQC as FASTQC2 } from '../../../modules/fastqc/main.nf'
|
|
include { MULTIQC } from '../../../modules/multiqc/main.nf'
|
|
|
|
workflow test_multiqc {
|
|
input = [
|
|
[ id: 'test', single_end: false ],
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)]
|
|
]
|
|
|
|
FASTQC ( input )
|
|
MULTIQC ( FASTQC.out.zip.collect { it[1] }, [], [], [] )
|
|
}
|
|
|
|
workflow test_multiqc_fn_collision {
|
|
fqc_input = [
|
|
[ id: 'test', single_end: false ],
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)]
|
|
]
|
|
mqc_input = Channel.empty()
|
|
|
|
FASTQC ( fqc_input )
|
|
mqc_input = mqc_input.mix(FASTQC.out.zip.collect { it[1] })
|
|
|
|
FASTQC2 ( fqc_input )
|
|
mqc_input = mqc_input.mix(FASTQC2.out.zip.collect { it[1] })
|
|
|
|
MULTIQC ( mqc_input, [], [], [] )
|
|
}
|
|
|
|
workflow test_multiqc_config {
|
|
input = [
|
|
[ id: 'test', single_end: false ],
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)]
|
|
]
|
|
mqc_config = file("https://github.com/nf-core/tools/raw/dev/nf_core/pipeline-template/assets/multiqc_config.yml", checkIfExists: true)
|
|
mqc_input = Channel.empty()
|
|
|
|
FASTQC ( input )
|
|
MULTIQC ( FASTQC.out.zip.collect { it[1] }, mqc_config, [], [] )
|
|
}
|