We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa983f0 commit 5bc2b9eCopy full SHA for 5bc2b9e
modules/local/bedtools_genomecov.nf
@@ -26,10 +26,13 @@ process BEDTOOLS_GENOMECOV {
26
SCALE_FACTOR=\$(grep '[0-9] mapped (' $flagstat | awk '{print 1000000/\$1}')
27
echo \$SCALE_FACTOR > ${prefix}.scale_factor.txt
28
29
+ # Use --bga instead of -bg to include zero-coverage bins in output
30
+ # This results in lower background levels and better visualization in IGV
31
+ # Users can override this by specifying -bg in ext.args if needed
32
bedtools \\
33
genomecov \\
34
-ibam $bam \\
- -bg \\
35
+ --bga \\
36
-scale \$SCALE_FACTOR \\
37
$pe \\
38
$args \\
0 commit comments