bedtools genomecov -bg -strand + -ibam -g -scale | awk '{print $1"\t"$2"\t"$3"\t-"$4}' > .minus.bedGraph bedtools genomecov -bg -strand - -ibam -g -scale > .plus.bedGraph bedGraphToBigWig .plus.bedGraph ${file1%%.bam}.plus.bigWig bedGraphToBigWig .minus.bedGraph ${file1%%.bam}.minus.bigWig thoc5.het == 1000000/1064914 =0.939043 scaling.brennecke.mutant == 1000000/1103542 = 0.906173