Skip to content
Snippets Groups Projects
Commit a27d714c authored by elabaron's avatar elabaron
Browse files

src/RNAseq.nf : add multiqc module

parent c3401f6e
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,10 @@ profiles {
container = "lbmc/htseq:0.11.2"
cpus = 1
}
withName: multiqc {
container = "ewels/multiqc:1.9"
cpus = 1
}
}
}
}
......@@ -45,7 +45,7 @@ process fastqc_raw {
set file_id, file(reads) from INPUT_FASTQC_RAW
output:
set file_id, "*.{html,zip}" into OUTPUT_FASTQC_RAW
file "*_fastqc.{html,zip}" into OUTPUT_FASTQC_RAW
when:
params.do_fastqc
......@@ -104,7 +104,7 @@ process fastqc_cut {
set file_id, file(reads) from CUTADAPT_OUTPUT_FASTQC
output:
set file_id, "*.{html,zip}" into OUTPUT_FASTQC_CUT
file "*.{html,zip}" into OUTPUT_FASTQC_CUT
when:
params.do_fastqc
......@@ -265,6 +265,9 @@ if (! params.do_dedup) {
HISAT_ALIGNED_DEDUP.into{DEDUP_GENOME}
}
/* HTseq
process sort_bam {
......@@ -349,3 +352,30 @@ bash ${script} -b ${bam} \
"""
}
*/
/* MultiQC */
process multiqc {
tag "multiqc"
publishDir "${params.output}/multiqc", mode: 'copy'
input:
file ('fastqc/*') from OUTPUT_FASTQC_RAW.collect().ifEmpty([])
file ('*') from CUTADAPT_LOG.collect().ifEmpty([])
file ('fastqc/*') from OUTPUT_FASTQC_CUT.collect().ifEmpty([])
file ('*') from FILTER_LOG.collect().ifEmpty([])
file ('fastqc/*') from OUTPUT_FASTQC_FILTER.collect().ifEmpty([])
file ('*') from HISAT_LOG.collect().ifEmpty([])
file ('fastqc/*') from OUTPUT_FASTQC_GENOME.collect().ifEmpty([])
output:
file "multiqc_report.html" into multiqc_report
file "multiqc_data"
script:
"""
multiqc ./
"""
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment