Skip to content
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

poly A will not open Bam file #1143

Open
jayradke opened this issue Aug 7, 2024 · 1 comment
Open

poly A will not open Bam file #1143

jayradke opened this issue Aug 7, 2024 · 1 comment

Comments

@jayradke
Copy link

jayradke commented Aug 7, 2024

Running poly A gives the following...

[E::hts_hopen] Failed to open file /media/radkelab/01DA1EE339118570/NAGATA/Ad14/primary.bam.bai
[E::hts_open_format] Failed to open file "/media/radkelab/01DA1EE339118570/NAGATA/Ad14/primary.bam.bai" : Exec format error
nanopolish: src/common/nanopolish_bam_processor.cpp:29: BamProcessor::BamProcessor(const string&, const string&, int, int): Assertion `m_bam_fh != NULL' failed.
Aborted (core dumped)

We performed Nanopolish index followed by minimap2 the samtools view, sort and index.

Any suggestion on what we are doing wrong?

@jts
Copy link
Owner

jts commented Oct 15, 2024

Sorry for not answering this before. It looks like you passed in the .bai file as the bam argument?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants