Hello,
I was looking at previous posts about MACS2 peak files and read shift before DiffBind to match MACS2 settings. However, I am still a bit confused about right steps to take. This is my work strategy:
1) MACS2 was used for peak enrichment, with —shift -25 and —extsize 50 (thus shift 25b from 3' ->5' and after that set read length = 50)
2) Load NarrowPeaks files in DiffBind and obtain consensus peakset (for all replicates from the same condition, saying that peak is "real" if it is in at least 0.5 samples)
3) Create master consensus peakset, this time from all consensus peaksets per phenotype
3) Now I want to create binding matrix for master consolidated peakset; This is the step I am confused about;
Should I shift my reads 25b 3' ->5' before I read them in DiffBind, just to match the MACS2 settings?
I am currently shifting my master peakset (GRanges) back 25b, than reading bed files with fragmentSize = 50, and than after binding matrix is created, reseting it back to original location.
I would be very grateful for any advice of what is the right way to do this.
Thank you in advance.
Kind Regards
Dear Rory,
Thank you for your replay.
MACS2 is set to —nomodel. We are working on ATACseq data and we went for these MACS2 parameters following the suggestion from other group which is working on the same type of data.