From bbb54705a00347611b9e2a25464d87ba017f8bd9 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 2 Mar 2021 12:47:53 -0600
Subject: [PATCH] Try to fix fastq count with fastq override

---
 rna-seq.nf | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/rna-seq.nf b/rna-seq.nf
index 029795c..ea8c468 100644
--- a/rna-seq.nf
+++ b/rna-seq.nf
@@ -302,9 +302,11 @@ if (fastqsForce != "") {
       fastqs_parseMetadata
       fastqs_fastqc
     }
-  fastqsForce.count().into {
+  Channel
+    .fromPath(fastqsForce)
+    .count().into {
     fastqCount
-  }
+    }
 } else {
   fastqs.collect().into {
     fastqs_seqwho
-- 
GitLab