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
Loading
......@@ -109,13 +109,13 @@ process bam_to_bedgraph {
tuple val(bam_id), path(bam)
output:
tuple val(bam_id), path("*.bg"), emit: bedgraph
tuple val(bam_id), path("*.bed"), emit: bed
script:
"""
bedtools genomecov \
${params.bam_to_bedgraph} \
-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