From 81054b5cfa7c32bd562eaac87d5c305bc91b3416 Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Tue, 5 Feb 2019 15:13:52 -0600
Subject: [PATCH]  Fix output directory. #28.

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

diff --git a/workflow/main.nf b/workflow/main.nf
index 2d89d81..a8c5027 100644
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -395,7 +395,7 @@ process consensusPeaks {
 // Annotate Peaks
 process peakAnnotation {
 
-  publishDir "$baseDir/output/${task.process}", mode: 'copy'
+  publishDir "$outDir/${task.process}", mode: 'copy'
 
   input:
 
@@ -416,7 +416,7 @@ process peakAnnotation {
 // Motif Search  Peaks
 process motifSearch {
 
-  publishDir "$baseDir/output/${task.process}", mode: 'copy'
+  publishDir "$outDir/${task.process}", mode: 'copy'
 
   input:
 
@@ -441,7 +441,7 @@ uniqueExperimentsList = uniqueExperiments
 // Calculate Differential Binding Activity
 process diffPeaks {
 
-  publishDir "$baseDir/output/${task.process}", mode: 'copy'
+  publishDir "$outDir/${task.process}", mode: 'copy'
 
   input:
 
-- 
GitLab