Binary package “covtobed” in ubuntu oracular
convert the coverage track from a BAM file into a BED file
Reads one (or more) alignment files (sorted BAM) and prints a BED with
the coverage. It will join consecutive bases with the same coverage, and
can be used to only print a BED file with the regions having a specific
coverage range.