-
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
failed to read record from bam information, truncated record in SAM/BAM/CRAM file #375
Comments
Hello @ziphra, Could you run CRAM should work fine, you can test the command using the CRAM file in the testing resources directory. Which program is generating the modBAM files? If it's still not clear what's going on, maybe you can attach a sampling of the file and I can take a look. |
Hello, thank you for your reply.
My cram was generated with Epi2me, so it's the usual workflow. It worked with the bam files generated during sequencing. |
It looks like these are different files you're using? As you've seen in the first post, most Aside:
Looks to me like this counter is broken, so I'll fix that. |
No, it's the same file, I changed names and removed path when posting for readability. I just tried the two commands again and got the same results. |
Hello @ziphra, Ok. I don't think that having phased reads should matter, the phasing is just an tag in the record (same as the modified base probabilities). Would it be possible fo you to attach a small sample CRAM that exposes the issue? You can also email/share it with me at art.rand[at]nanoporetech.com. |
I'm encountering an unexpected issue with this CRAM file. I try subsetting a region using the following commands, so I could share it with you:
Then, when I run I'm not sure why this behaviour occurs. Any insights would be appreciated. |
Hello @ziphra, If you randomly subsample the CRAM ( |
Hello,
I am trying to use the
modkit extract full
command on my data, but i only getrecords failed
during processing:And the log tells me:
Do you have any idea on what could cause this issue? Could it be that it needs a BAM?
Many thanks in advance!
The text was updated successfully, but these errors were encountered: