macs2 for centromere chip-seq peak calling
1
0
Entering edit mode
20 months ago
Alex S ▴ 20

I am trying to locate the centromere in one of our genome assemblies using chip-seq data from CenH3.

I am performing the peak calling using macs2 peakcall function using bam files from bowtie2 (treatment and control). I am using the narrowPeak file from macs2 output and plotting the data using chepSeeker from R, but the output figure is not that nice. I figured out that bigwig files look better when plotted.

Does anyone know how to generate bigwig files from Macs2 output? I tried using the function macs2 bdgcmp but I'm not sure if it does the same function as peakcall.

And I would accept any recommendations about plotting chip-seq peaks as well.

chip-seq macs2 • 949 views
ADD COMMENT
0
Entering edit mode
20 months ago
Ian 6.1k

Hi,

This is the method I use:

# get genome chromosome sizes (assuming it is a UCSC genome, otherwise this is a tab delimited file with chromosome name in the first column and length in the second):
fetchChromSizes hg38 > hg38.chrom.sizes

# bedClip makes sure regions don't go off the end of the chromosome
bedClip macs2.bdg genome.chrom.sizes macs2_clipped.bdg

# make a bigWig
bedGraphToBigWig macs2_clipped.bdg genome.chrom.sizes macs2.bigWig

You can download these programs from UCSC: http://hgdownload.soe.ucsc.edu/admin/exe/

Useful to use MACS2 --SPMR if you are comparing between tracks.

Hope this helps.

ADD COMMENT
0
Entering edit mode

Hi,

Which bdg from MACS2 do you use? Do you run it using macs2 callpeak, or another function? I don't think I got any bdg from callpeak.

Thanks

ADD REPLY

Login before adding your answer.

Traffic: 2563 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6