-
Notifications
You must be signed in to change notification settings - Fork 8
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
modkit bedmethyl merge bug #350
Comments
Hello @paulinor42 Sorry about the stall. So if I'm understanding correctly,
This is a bug, but it should be a harmless one, and shouldn't cause a stall like you're seeing - and actually provides a clue to what's going on. To me it looks like Modkit is failing to write to the file, or the filesystem is holding it up. The program loads sections of each bedMethyl in parallel, merges them, and puts the merged records on a queue to be written. This queue is set to a maximum capacity of 1000 items. So the fact that it stalls at 1001 makes me think that the queue is full. Would you be willing to share the data that produces this problem with me so I can try and reproduce it? If so, please send me email at art.rand[at]nanoporetech.com and we can sort it out. Thanks! |
Hi @ArtRand, Thanks for the response. and yes! I can send you the files. |
Hello @paulinor42, For some reason your email got triaged and didn't make it to my inbox. I found it and I have your files. I'll try to reproduce asap and get back to you about the solution. Thanks! |
Hello @ArtRand, big fan of what you are doing - I just wanted to add that I also face the same bug, however my magic number is 699 instead of 1001. Below is the command I ran: I created the size.tsv file with the following awk code from another ticket: I created tabix files for each .bedmethyl.gz file with
and the log output: This could be user error on my part, please let me know if I am missing anything workflow wise. |
Hello,
I am trying to merge one pileup.bed containing 5mC and 5hmC mod with another pileup.bed containing 5mC and 5hmC mods. Both files have been compressed and indexed according to the online documentation.
Below is the command I am using
However, the program keeps stalling and not exiting, and it does not write anything to the output pileup bed.
This is the stdout that the commands freezes on. I notice it keeps on processing contigs even though they are only 25 in the genome sizes file.
Here is log output
Thank you for your help. modkit is a very helpful and useful tool!
The text was updated successfully, but these errors were encountered: