-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How peaks are calculated ? #43
Comments
It’s impossible to call ‘depleted’ regions from ‘callpeak’ command since it is designed to find ‘enriched’ regions only. If you have MeDIP data from two conditions, you can consider ‘bdgdiff’ command after you get four bdg files from two separate runs of ‘callpeak’ on both conditions. To analyze MeDIP data, you may consider more specific tools such as MEDIPS or MnM. Tao On Jun 23, 2014, at 7:28 AM, biocyberman notifications@github.com wrote:
|
Hello Tao,
and then run Afterward I would do some preprocessing of peak_names, fold_changes before JOINING the two peak_list together so I will have both 'enriched' and 'depleted' peaks. My concern is that it may not be correct to join the two output together because may be normalized differently. What is your thoughts about this? Thanks |
Sorry for late reply! I am cleaning issues nowadays and just saw your question... Yes. You can do so. By default, MACS2 uses size of smaller dataset to normalize, so in your case, this step is fine. But MACS2 will use control data to calculate so-called local background in 1,000bps, 10,000 bps surrounding regions. This may not be a good solution for your methylation data since you may want to compare two libraries at the same position. You can try to disable this by --slocal 0 --llocal 0. I close this issue for now, since it's more about using MACS2 not about coding. If you still have question, please send email to MACS google user group or email me directly. -T |
I noticed that after
callpeak
command with treat vs control MeDIP samples, I don't have peaks with fold-changes < 1, which, I suppose, are demethylated spots. Is it correct to expect fold-change < 1 for demethylated peaks? In general, a plain English explanation of how peaks and fold-changes are calculated will be very helpful.I tried looking for that information in the publication http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3120977 but could not find anything. The last resort could be to look into the source code, but I prefer to have the authors' words first.
The text was updated successfully, but these errors were encountered: