From 579959d88cdf9897d5597ff1d78aebe2b7c24e73 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 25 Aug 2020 17:48:55 -0500
Subject: [PATCH] Update multiqc run table for reporting convenience #72

---
 workflow/conf/multiqc_config.yaml | 7 ++++++-
 workflow/rna-seq.nf               | 4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/workflow/conf/multiqc_config.yaml b/workflow/conf/multiqc_config.yaml
index 5f0ecee..e6e85c6 100644
--- a/workflow/conf/multiqc_config.yaml
+++ b/workflow/conf/multiqc_config.yaml
@@ -67,9 +67,12 @@ custom_data:
         plot_type: 'table'
         pconfig:
             id: 'run'
-            format: '{:,.0f}'
+            scale: false
+            format: '{}'
         headers:
+            Session
             Session ID
+            Pipeline Version
     rid:
         file_format: 'tsv'
         section_name: 'RID'
@@ -77,6 +80,8 @@ custom_data:
         plot_type: 'table'
         pconfig:
             id: 'rid'
+            scale: false
+            format: '{}'
         headers:
             Replicate RID
             Experiment RID
diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index 2cf5364..387e7f1 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -1065,8 +1065,8 @@ process aggrQC {
 
     # make run table
     echo -e "LOG: creating run table" >> ${repRID}.aggrQC.log
-    echo -e "Session ID\tPipeline Version" > run.tsv
-    echo -e "${workflow.sessionId}\t${workflow.manifest.version}" >> run.tsv
+    echo -e "Session\tSession ID\tPipeline Version" > run.tsv
+    echo -e "Session\t${workflow.sessionId}\t${workflow.manifest.version}" >> run.tsv
     
     # make RID table
     echo -e "LOG: creating RID table" >> ${repRID}.aggrQC.log
-- 
GitLab