From f6184625d30918c057aa34bbc4bfbb6540747d82 Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Wed, 25 Jul 2018 06:39:38 -0500
Subject: [PATCH] Fix syntax

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

diff --git a/workflow/main.nf b/workflow/main.nf
index 23c4056..818d949 100644
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -405,10 +405,7 @@ process peakAnnotation {
 }
 
 // Define channel to find number of unique experiments
-peaksDesign = Channel
-              .fromPath(uniqueExperiments)
-              .readLines()
-              .count()
+peaksDesign = uniqueExperiments.readLines().size()
 
 // Calculate Differential Binding Activity
 process diffPeaks {
-- 
GitLab