MACS icon indicating copy to clipboard operation
MACS copied to clipboard

Q: ChIPSeq calling peaks with SPMR

Open bioinfograd opened this issue 4 years ago • 2 comments

Hello, I am running the command below

macs2 callpeak -t 18.chip.sorted.bam
-c 12.input.sorted.bam
-f BAMPE -g hs --broad-cutoff 0.1 -B --SPMR -n His_Rep2
--outdir /SPMR/eachind

I understand that when using SPMR I can use this to visualize signal tracks and should not use it for calling peaks from the bedgraphs subsequently generated but can I use the peaks bed/xls file that is generated after running the above command? I think that is fine?

bioinfograd avatar May 01 '20 01:05 bioinfograd

I guess a follow up is if using the file is fine why would you use bgdiff and not just look at the peaks being called? Why do the added step? Does it just call better peaks?

bioinfograd avatar May 01 '20 01:05 bioinfograd

@bioinfograd Thanks for asking! Yes. You can use the peaks bed/xls generated from callpeak --SPMR since the option --SPMR only affects the bedGraph output.

Regarding your follow-up question on bdgdiff, the differential peak calling is not simply a peak-overlapping process. Same as differential gene expression analysis, a gene is regarded as 'expressed' in both conditions -- i.e. above certain FPKM cutoff in both conditions, doesn't mean it is not differentially expressed.

taoliu avatar May 11 '20 19:05 taoliu