From 275a0a704eb15c8b833192e6680999dc10935fb1 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Fri, 28 Jun 2019 13:19:32 -0500
Subject: [PATCH] Only output multiqc html and put in  dir

---
 workflow/main.nf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/workflow/main.nf b/workflow/main.nf
index 24fdbec..06f38bc 100755
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -257,7 +257,7 @@ metricsSummary = metricsSummary211.mix(metricsSummary301, metricsSummary302)
 
 // Generate MultiQC Report
 process multiqc {
-  publishDir "$outDir/${task.process}", mode: 'copy'
+  publishDir "$outDir/${task.process}/$name", mode: 'copy'
   module 'multiqc/1.7'
 
   input:
@@ -265,7 +265,7 @@ process multiqc {
   file yamlPaths
 
   output:
-  file "*" into mqcPaths
+  file "multiqc_report.html" into mqcPaths
 
   script:
   """
-- 
GitLab