From 6925f9d06cce81f1cacf200552f51d246bb4fc90 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Tue, 29 Jun 2021 14:35:50 +0200
Subject: [PATCH] bioawk: fix fasta2transcriptslength process

---
 src/nf_modules/bioawk/main.nf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nf_modules/bioawk/main.nf b/src/nf_modules/bioawk/main.nf
index 2322a039..eaa5a4a2 100644
--- a/src/nf_modules/bioawk/main.nf
+++ b/src/nf_modules/bioawk/main.nf
@@ -19,6 +19,6 @@ process fasta_to_transcripts_lengths {
 
   script:
 """
-bioawk -c fastx '{print \$name length(\$seq)}' ${fasta} > ${fasta.simpleName}_transcripts_lengths.tsv
+bioawk -c fastx '{print(\$name" "length(\$seq))}' ${fasta} > ${fasta.simpleName}_transcripts_lengths.tsv
 """
 }
\ No newline at end of file
-- 
GitLab