Hi Tao,
I have been using bdgpeakcall for a few days. It is great - e.g. it takes less than 10 minutes to call peaks on the human genome if you start at this step. However, an observation is that the narrowPeak file output by bdgpeakcall is different from the one generated from callpeak (with the same data and parameters). To give an example:
narrowPeak from callpeak -- using q; cutoff of 0.01 ==> -log10(0.01) = 2:
chr1 9715 10753 peak_1 1049 . 6.25641 109.11100 104.95456 484
chr1 12402 13100 peak_2 57 . 2.42105 7.60889 5.74906 201
narrowPeak from bdgpeakcall -- from qvalue bdg; cutoff of 2:
chr1 9715 10753 narrowPeak1 1175 . 0.00000 0.00000 0.00000 631
chr1 12402 13100 narrowPeak2 74 . 0.00000 0.00000 0.00000 175
-- The number of peaks in each file is identical. Good.
-- The start and end locations of each peak seem to be identical. Great.
-- What concerns me is that columns 4 ("score") and 10 (relative summit) differ between the 2 ways of calling the peaks.
Is there a reason for this? Why do the summit locations differ? While we are at it, what exactly is the score in column 4? How is it obtained?
As for columns 7, 8, and 9 (which usually give information on FE, -log(p) and -log(q)), would it be possible to fill in at least the relevant column (depending on which signal track you are using) with a score (e.g. if you used the p-value signal track, fill in column 8 with the -log10(p). I do realize it would not be possible to calculate FE from the pval or qval signal track and vice versa -- but I do imagine it might be possible to calculate the pvalues and qvalues interchangeably (so maybe fill in both columns if using one of those tracks).
For now I will go back to using callpeaks for everything so it is all consistent. Nonetheless, I do like having the option to use bdgpeakcall. Thanks for adding it to the MACS arsenal.
Best,
John
p.s.
I saw the same thing when using p-value to call peaks. Same number of peaks, same starts/ends, different scores/summits.
-- John UrbanPh.D. Candidate
NSF Graduate Research Fellow
Brown University
Dept. of Molecular Biology, Cell Biology, and Biochemistry
Laboratory of Susan Gerbi, Sydney Frank Hall 257
Providence, RI 02906