From 5e322c7974ffc658ee52b23b37ffe5d893d0675e Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Sat, 2 May 2020 19:23:17 -0500
Subject: [PATCH] Fix getData

---
 workflow/rna-seq.nf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index 0ee3b54..748536d 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -144,7 +144,7 @@ process getData {
     
     # bagit fetch fastq's only and rename by repRID
     echo -e "LOG: fetching replicate bdbag" >> ${repRID}.getData.log
-    sh ${script_bdbagFetch} ${repRID} ${repRID}
+    sh ${script_bdbagFetch} \${replicate} ${repRID}
     echo -e "LOG: fetched" >> ${repRID}.getData.log
     """
 }
-- 
GitLab