deeptools Installation
conda install -c bioconda deeptools
bamCoverage 转化为bw文件
bamCoverage -b accepted_hits.bam -o SRR2064456.bw
另一种方法:
size=mm10.chr.size
sort -k1,1 -k2,2n OHT1.bedgraph > OHT1.sorted.bedgraph
bedGraphToBigWig OHT1.sorted.bedgraph $size OHT1.bigwig
bigWigToWig OHT1.bigwig OHT1.wig
下载ref:UCSC工具箱 - 简书
网友评论