mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Fix multiqc tests
This commit is contained in:
parent
0683efc679
commit
ff6f0642d2
3 changed files with 12 additions and 11 deletions
1
.github/filters.yml
vendored
1
.github/filters.yml
vendored
|
@ -49,6 +49,7 @@ gffread:
|
|||
- tests/software/gffread/**
|
||||
|
||||
multiqc:
|
||||
- software/fastqc/**
|
||||
- software/multiqc/**
|
||||
- tests/software/multiqc/**
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
nextflow.enable.dsl = 2
|
||||
|
||||
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams(options: [publish_dir: 'test_multiqc'])
|
||||
include { test_paired_end } from '../fastqc/main.nf' addParams(options: [publish_dir: 'test_paired_end'])
|
||||
include { FASTQC } from '../../../software/fastqc/main.nf' addParams( options: [:] )
|
||||
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams( options: [:] )
|
||||
|
||||
workflow test_multiqc {
|
||||
test_paired_end()
|
||||
|
||||
input = [
|
||||
test_paired_end.out.zip.collect { it[1] }.ifEmpty([])
|
||||
]
|
||||
|
||||
MULTIQC(*input)
|
||||
def input = []
|
||||
input = [ [ id: 'test', single_end: false ],
|
||||
[ file("${launchDir}/tests/data/fastq/rna/test_R1.fastq.gz", checkIfExists: true),
|
||||
file("${launchDir}/tests/data/fastq/rna/test_R2.fastq.gz", checkIfExists: true) ] ]
|
||||
FASTQC ( input )
|
||||
MULTIQC ( FASTQC.out.zip.collect { it[1] } )
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- name: multiqc
|
||||
command: nextflow run ./tests/software/multiqc/ -entry test_multiqc -c tests/config/nextflow.config
|
||||
command: nextflow run ./tests/software/multiqc -entry test_multiqc -c tests/config/nextflow.config
|
||||
tags:
|
||||
- multiqc
|
||||
files:
|
||||
- path: output/test_multiqc/multiqc_report.html
|
||||
- path: output/multiqc/multiqc_report.html
|
||||
|
||||
|
|
Loading…
Reference in a new issue