Skip to content
Snippets Groups Projects
Verified Commit 30bc832d authored by Laurent Modolo's avatar Laurent Modolo
Browse files

bedtools: change bg file to bed file

parent d5cf091f
No related branches found
No related tags found
No related merge requests found
...@@ -109,13 +109,13 @@ process bam_to_bedgraph { ...@@ -109,13 +109,13 @@ process bam_to_bedgraph {
tuple val(bam_id), path(bam) tuple val(bam_id), path(bam)
output: output:
tuple val(bam_id), path("*.bg"), emit: bedgraph tuple val(bam_id), path("*.bed"), emit: bed
script: script:
""" """
bedtools genomecov \ bedtools genomecov \
${params.bam_to_bedgraph} \ ${params.bam_to_bedgraph} \
-ibam ${bam} \ -ibam ${bam} \
-bg > ${bam.simpleName}.bg -bg > ${bam.simpleName}.bed
""" """
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment