From 59f8cb0a69f0af55786aa758601b5dbdd651a772 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Wed, 10 Feb 2021 09:08:10 +0100
Subject: [PATCH] nf_modules: add ucsc bg to bw fix output

---
 src/nf_modules/ucsc/main.nf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nf_modules/ucsc/main.nf b/src/nf_modules/ucsc/main.nf
index b4fe98df..1e288e83 100644
--- a/src/nf_modules/ucsc/main.nf
+++ b/src/nf_modules/ucsc/main.nf
@@ -11,10 +11,11 @@ process bedgraph_to_bigwig {
   tuple val(file_id) path(bed)
 
   output:
-  tuple val(file_id), path("*.bw"), emit: fasta
+  tuple val(file_id), path("*.bw"), emit: bw
 
   script:
 """
+LC_COLLATE=C
 # transform bed file of start-stop chromosome size to stop chromosome size
 awk -v OFS="\\t" '{print \$1, \$3}' ${bed} > chromsize.txt
 
-- 
GitLab