Entering edit mode
3 months ago
QX
▴
60
Hi all,
I have many datasets from ATAC-seq for multiple condition (replicates of 2) setting and no control specifically, where I want to do pair-wise for every two of the conditions.
For macs2
setting, can I call peaks from all these file by setting the -t
(treatment) for all the files and left the -c
(control) as empty and use the peaks output to perform futher analysis; or I really need to setting macs2
for each pairwise?
Best,
If you are expecting only narrow peaks or broad peaks in all your samples, you can call
macs2
on all your files at the same time. Then you can overlap the peaks sets using bedtools for example to get a consensus peak list and do your pair-wise comparison using featureCounts or any other "count to features" method you like.If you have samples where you expect narrow peaks and others where you expect broad peaks, I would run two different
macs2
instances with the associated parameters (narrow, broad).for now I only go for the
narrowPeaks
. Can you specifize more on whichbedtools
command for this task and how can the tool choose the consensus peak? for e.g. in my data, there are some rows that are similar in range but have more peaks:and if you have time, do know know the different between narrowPeaks and broadPeaks, or any materials on this?
You can use bedtools merge to create what I called a "consensus" peaks set. The tool does not "choose" any peak, it will aggregate peaks till it finds a gap. The sketch from bedtool merge home page is self explanatory. I would suggest you to have a cutoff on the qvalue in order not to aggregate on peaks which are potential false positive, to avoid aggregating your whole chromosome into one peak. Here is a similar question to what you are asking.
The peaks you are calling using macs2 are related to the biology of your dataset. If you are expecting only rather small open chromatin regions like transcription factors or some histone marks like H3K27ac, then it will be more suitable to call narrow peaks. You can see it as a magnifying glass to detect small events. On the other hand, other histone marks have really big opening chromatin regions where it might be better to zoom out to be able to call them properly. Similar question
this is helpful. thank you so much!