# 窗口拆分 test.bed 需要修改标签:100k,第一,normal,bed,tumor,window,coverage From: https://www.cnblogs.com/kid-kid/p/16665769.html
bedtools makewindows -g test.bed -w 100000 -s 100000 >> 100k_window.bed
# tumor coverage count
bedtools coverage -a 100k_window.bed -b tumor.bam > tumor.counts.txt
# normal coverage count
bedtools coverage -a 100k_window.bed -b normal.bam > normal.counts.txt