From c86c2e79c8ad3b7c3dc20bb40636238aaa877e8f Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Fri, 17 Apr 2020 08:06:21 -0500
Subject: [PATCH] Only get the pooled files.

---
 workflow/main.nf                 | 2 +-
 workflow/scripts/plot_profile.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/workflow/main.nf b/workflow/main.nf
index ea6f756..5a49790 100644
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -483,7 +483,7 @@ process plotProfile {
 
   input:
 
-  file ("*.pooled.fc_signal.bw") from bigwigs.collect()
+  file bigWigList from bigwigs.collect()
 
   output:
 
diff --git a/workflow/scripts/plot_profile.sh b/workflow/scripts/plot_profile.sh
index 277f993..34bf24e 100755
--- a/workflow/scripts/plot_profile.sh
+++ b/workflow/scripts/plot_profile.sh
@@ -84,7 +84,7 @@ run_main() {
       usage
   fi
 
-  bws=$(ls *.bw)
+  bws=$(ls *.pooled.fc_signal.bw)
 
   check_tools || exit 1
 
-- 
GitLab