From 8dd59f38fffff25d947b004b764949baafc575c7 Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu> Date: Fri, 7 Aug 2020 10:55:13 -0500 Subject: [PATCH] Add rounding to numbers in multiqc table --- workflow/conf/multiqc_config.yaml | 1 + workflow/rna-seq.nf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/workflow/conf/multiqc_config.yaml b/workflow/conf/multiqc_config.yaml index 5e39335..db6a335 100644 --- a/workflow/conf/multiqc_config.yaml +++ b/workflow/conf/multiqc_config.yaml @@ -74,6 +74,7 @@ custom_data: plot_type: 'table' pconfig: id: 'meta' + format: '{:,.0f}' headers: Source Species diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf index 7dd69e5..efeb0f1 100644 --- a/workflow/rna-seq.nf +++ b/workflow/rna-seq.nf @@ -239,7 +239,7 @@ process parseMetadata { # get read length metadata readLength=\$(python3 ${script_parseMeta} -r ${repRID} -m "${experimentSettings}" -p readLength) - if [ "\${readLength}" == "nan"] + if [ "\${readLength}" = "nan"] then readLength="NA" fi -- GitLab