Hi all,
I have chipseq data for 6 samples (treatment/control), with replicate (so total 12 bam files). Now I am looking for peak calling using MACS2, I have doubt on handling replicates in macs2, so anyone please clear my doubt on handling replicates,
should I merge replicate before peak calling or analyse separately??
Thanks in advance.
Hi Devon,
This is what I usually do but it opens up another can of worms about filtering peaks and defining a consensus set of peaks. One can call peaks at high stringency then get the union of all peaks, or lower stringency then accept peaks found in n out m files etc. (In practice I go for the solution the gives a consensus set that gives sensible results after some visual inspection with IGV).
Thanks Devon,
my replicates are technical, so I should just merge the BAM files.
Is this command Ok?
FWIW, you can provide multiple BAMs to macs2 and it'll merge them for you, avoiding the extra step and extra storage.
Thanks Ryan, also looks good idea.
But how to use multiple files in macs2 command:
Provide them as space-separated values. From
macs2 callpeak -h
:Yup, that should work :)