From 5d11f90ebb949291b767f645df5a748177721d80 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent@modolo.fr>
Date: Mon, 25 Jan 2021 16:47:44 +0100
Subject: [PATCH] bedtools: fix tags

---
 src/nf_modules/bedtools/main.nf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nf_modules/bedtools/main.nf b/src/nf_modules/bedtools/main.nf
index 25d97a7a..8aaddf5c 100644
--- a/src/nf_modules/bedtools/main.nf
+++ b/src/nf_modules/bedtools/main.nf
@@ -24,7 +24,7 @@ bedtools getfasta -name \
 process bam_to_fastq_singleend {
   container = "${container_url}"
   label "big_mem_mono_cpus"
-  tag "${bed.baseName}"
+  tag "${bam.baseName}"
   publishDir "results/fasta/", mode: 'copy'
 
   input:
@@ -43,7 +43,7 @@ bedtools bamtofastq
 process bam_to_fastq_pairedend {
   container = "${container_url}"
   label "big_mem_mono_cpus"
-  tag "${bed.baseName}"
+  tag "${bam.baseName}"
   publishDir "results/fasta/", mode: 'copy'
 
   input:
-- 
GitLab