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/**
|
- tests/software/gffread/**
|
||||||
|
|
||||||
multiqc:
|
multiqc:
|
||||||
|
- software/fastqc/**
|
||||||
- software/multiqc/**
|
- software/multiqc/**
|
||||||
- tests/software/multiqc/**
|
- tests/software/multiqc/**
|
||||||
|
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
nextflow.enable.dsl = 2
|
nextflow.enable.dsl = 2
|
||||||
|
|
||||||
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams(options: [publish_dir: 'test_multiqc'])
|
include { FASTQC } from '../../../software/fastqc/main.nf' addParams( options: [:] )
|
||||||
include { test_paired_end } from '../fastqc/main.nf' addParams(options: [publish_dir: 'test_paired_end'])
|
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams( options: [:] )
|
||||||
|
|
||||||
workflow test_multiqc {
|
workflow test_multiqc {
|
||||||
test_paired_end()
|
|
||||||
|
def input = []
|
||||||
input = [
|
input = [ [ id: 'test', single_end: false ],
|
||||||
test_paired_end.out.zip.collect { it[1] }.ifEmpty([])
|
[ 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(*input)
|
MULTIQC ( FASTQC.out.zip.collect { it[1] } )
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- name: multiqc
|
- 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:
|
tags:
|
||||||
- multiqc
|
- multiqc
|
||||||
files:
|
files:
|
||||||
- path: output/test_multiqc/multiqc_report.html
|
- path: output/multiqc/multiqc_report.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue