From 2ede9219c469a6ca9316b8065d581b830c298e7f Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Wed, 25 Jul 2018 06:31:21 -0500
Subject: [PATCH] Fix workflow.

---
 astrocyte_pkg.yml | 2 +-
 workflow/main.nf  | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/astrocyte_pkg.yml b/astrocyte_pkg.yml
index 44e4b23..929e231 100644
--- a/astrocyte_pkg.yml
+++ b/astrocyte_pkg.yml
@@ -134,7 +134,7 @@ workflow_parameters:
 #            The workflow must publish all final output into $baseDir
 
 # Name of the R module that the vizapp will run against
-vizapp_r_module: 'R/3.2.1-intel'
+vizapp_r_module: 'R/3.4.1-gccmkl'
 
 # List of any CRAN packages, not provided by the modules, that must be made
 # available to the vizapp
diff --git a/workflow/main.nf b/workflow/main.nf
index 491f1ae..a48c2f1 100644
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -405,8 +405,7 @@ process peakAnnotation {
 }
 
 // Define channel to find number of unique experiments
-peaksDesign = uniqueExperiments
-              .readLines()
+peaksDesign = Channel from(uniqueExperiments.readLines())
               .count()
 
 // Calculate Differential Binding Activity
-- 
GitLab