-
Notifications
You must be signed in to change notification settings - Fork 9
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
roimethstat seems not be able to identify overlapping region #21
Comments
Please try the |
Thanks. Unfortunately, i already tried -L option before, but the same error still exist. Do i need to send you extra information for this? Thank you. |
it may also be possible that your chroms are not sorted alphabetically using C locale. Have you tried sorting your BED file using the command below?
|
Thank you for the comment. But i did try your suggestion (i even try to erase the PMD identifier and the column at the back just leaving the 4 columns needed to sort using your suggestion), but the error still exist 🥲. I'm pretty sure my xxx.meth file has no problem since i can run roimethstat for the regions without this overlapping issue so the problem just remain in region file i guess. Do i need to send you extra information for this? Thank you so much for the help again. |
So I tried to reproduce with the following BED file:
and running
(I also tried with the
I tried both with methpipe 4.1.1 and 5.0.0. by any chance would you be able to share the entire BED file you're using? So we can try to reproduce the error and zero in on the actual pair of regions causing the problem? |
Hi Methpipe team,
I'm David, a PhD student and i am working on calculating the methylation in the PMD regions and the flanking area. Basically, i chop the PMDs and the extended regions into smaller bins and calculate the average methylation level. However, for some regions, the coordinates seem to overlap (e.g. the end coordinate surpass the start coordinate of the next region). No matter how i sort (sort -k 1,1 -k 3,3n -k 2,2n -k 6,6 or sort -k1,1 -k2,2n) the program still stated the region of interest file isn't sorted.
My version of the Methpipe is methpipe-5.0.0. Attached are the example screenshot (i do not think the -nan in PMD definition, which i also used Methpipe, is the reason). Thank you very much for the help.
Best Regards,
David
The text was updated successfully, but these errors were encountered: