bam2bedGraph2 Extremely fast BAM depth calculation for WGS, exome, or targeted sequencing how it works dependency gcc make samtools-0.19 zlib-1.2.11 hiredis extending program https://github.com/xiongxu/HighPerformanceNGS/blob/master/bam2wig.c https://github.com/xiongxu/HighPerformanceNGS/blob/master/bam2depth.c