Skip to content
Snippets Groups Projects
Commit 28cbd1f8 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Harmonize outputs, add multiqc output

parent 85392b62
Branches
Tags
2 merge requests!37v0.0.1,!33Resolve "process_qc"
Pipeline #6822 passed with stages
in 5 minutes and 3 seconds
...@@ -778,7 +778,7 @@ process makeBigWig { ...@@ -778,7 +778,7 @@ process makeBigWig {
*/ */
process countData { process countData {
tag "${repRID}" tag "${repRID}"
publishDir "${outDir}/countData", mode: 'copy', pattern: "${repRID}*.countTable.csv" publishDir "${outDir}/count", mode: 'copy', pattern: "${repRID}*.countTable.csv"
input: input:
path script_calculateTPM path script_calculateTPM
...@@ -868,6 +868,7 @@ process dataQC { ...@@ -868,6 +868,7 @@ process dataQC {
output: output:
path "${repRID}.tin.hist.tsv" into tin path "${repRID}.tin.hist.tsv" into tin
path "${repRID}.insertSize.inner_distance_freq.txt" into innerDistance path "${repRID}.insertSize.inner_distance_freq.txt" into innerDistance
script: script:
""" """
hostname > ${repRID}.dataQC.log hostname > ${repRID}.dataQC.log
...@@ -903,6 +904,7 @@ process dataQC { ...@@ -903,6 +904,7 @@ process dataQC {
*/ */
process aggrQC { process aggrQC {
tag "${repRID}" tag "${repRID}"
publishDir "${outDir}/qc", mode: 'copy', pattern: "${repRID}.multiqc.html"
input: input:
path multiqcConfig path multiqcConfig
...@@ -928,6 +930,7 @@ process aggrQC { ...@@ -928,6 +930,7 @@ process aggrQC {
val studyRID val studyRID
output: output:
path ${repRID}.multiqc.html into multiqc
script: script:
""" """
...@@ -955,6 +958,6 @@ process aggrQC { ...@@ -955,6 +958,6 @@ process aggrQC {
# run MultiQC # run MultiQC
echo -e "LOG: running multiqc" >> ${repRID}.aggrQC.log echo -e "LOG: running multiqc" >> ${repRID}.aggrQC.log
multiqc -c ${multiqcConfig} . multiqc -c ${multiqcConfig} . -n ${repRID}.multiqc.html
""" """
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment