From ca8ec57865bc6e1b09679049f3c3c343e4ccba33 Mon Sep 17 00:00:00 2001
From: Gervaise Henry <GHENRY@swmed.org>
Date: Sat, 14 Mar 2020 20:51:56 -0500
Subject: [PATCH] Use dedupBam for inferMeta

---
 workflow/rna-seq.nf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index 32cf5a8..549cf30 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -287,7 +287,6 @@ process trimData {
 // Replicate reference for multiple process inputs
 reference.into {
   reference_alignData
-  reference_inferMeta
 }
 
 /*
@@ -368,6 +367,7 @@ process dedupData {
 // Replicate dedup bam/bai for multiple process inputs
 dedupBam.into {
   dedupBam_makeBigWig
+  dedupBam_inferMeta
 }
 
 /*
@@ -423,7 +423,7 @@ process inferMetadata {
   input:
     path script_inferMeta
     path reference_inferMeta
-    set val (repRID), path (inBam), path (inBai) from rawBam_inferMetadata
+    set val (repRID), path (inBam), path (inBai) from dedupBam_inferMetadata
 
   output:
     path "infer.csv" into inferedMetadata
@@ -480,4 +480,4 @@ process inferMetadata {
     # write infered metadata to file
     echo \${endness},\${stranded},\${strategy},\${percentF},\${percentR},\${fail} > infer.csv
     """
-}
+}
\ No newline at end of file
-- 
GitLab