Eric pointed out the following mistake on line 48 of density-peaks.bash:
bedmap --faster --sweep-all --chrom "$chr" --range "$rangepad" --delim "\t" --echo --echo-ref-row-id --count - "$tags"
--count should be changed to --sum for consistency with what we've always done when calculating densities.
Eric pointed out the following mistake on line 48 of density-peaks.bash: bedmap --faster --sweep-all --chrom "$chr" --range "$rangepad" --delim "\t" --echo --echo-ref-row-id --count - "$tags"
--count should be changed to --sum for consistency with what we've always done when calculating densities.