Give finishing touches after the review

This commit is contained in:
Abhinav Sharma 2020-12-08 19:08:00 +05:30
parent b56a0322ab
commit 0c9f29e0a2
4 changed files with 12 additions and 11 deletions

View file

@ -24,9 +24,8 @@ process MULTIQC {
script: script:
def software = getSoftwareName(task.process) def software = getSoftwareName(task.process)
def custom_config = params.multiqc_config ? "--config $multiqc_custom_config" : ''
""" """
multiqc -f $options.args $custom_config . multiqc -f $options.args .
multiqc --version | sed -e "s/multiqc, version //g" > ${software}.version.txt multiqc --version | sed -e "s/multiqc, version //g" > ${software}.version.txt
""" """
} }

View file

@ -33,14 +33,18 @@ input:
description: | description: |
List of reports / files recognised by MultiQC, for example the html and zip output of FastQC List of reports / files recognised by MultiQC, for example the html and zip output of FastQC
output: output:
- data:
type: dir
description: MultiQC data dir
pattern: "multiqc_data"
- report: - report:
type: file type: file
description: MultiQC report file description: MultiQC report file
pattern: "multiqc_report.html" pattern: "multiqc_report.html"
- data:
type: dir
description: MultiQC data dir
pattern: "multiqc_data"
- plots:
type: file
description: Plots created by MultiQC
pattern: "*_data"
- version: - version:
type: file type: file
description: File containing software version description: File containing software version
@ -48,3 +52,4 @@ output:
authors: authors:
- "@abhi18av" - "@abhi18av"
- "@bunop" - "@bunop"
- "@drpatelh"

View file

@ -5,14 +5,11 @@ nextflow.enable.dsl = 2
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams(options: [publish_dir: 'test_multiqc']) 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 { test_paired_end } from '../fastqc/main.nf' addParams(options: [publish_dir: 'test_paired_end'])
ch_multiqc_config = file("$launchDir/tests/software/multiqc/multiqc_config.yml", checkIfExists: true)
workflow test_multiqc { workflow test_multiqc {
test_paired_end() test_paired_end()
input = [ input = [
ch_multiqc_config test_paired_end.out.zip.collect { it[1] }.ifEmpty([])
.mix(test_paired_end.out.zip.collect { it[1] }.ifEmpty([]))
] ]
MULTIQC(*input) MULTIQC(*input)