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

No reads found in BAM file #9

Closed
lmolokin opened this issue Oct 24, 2024 · 4 comments
Closed

No reads found in BAM file #9

lmolokin opened this issue Oct 24, 2024 · 4 comments

Comments

@lmolokin
Copy link

It looks like kyber currently doesn't like bam files with unaligned reads:

kyber -p -c green -i EXP-PBC096_barcode01.bam 

thread 'main' panicked at 'No reads found in BAM file EXP-PBC096_barcode01.bam', src/extract_data.rs:39:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Do you plan to add a --ubam flag like in cramino?

Thanks for your work!
Aleksey

@wdecoster
Copy link
Owner

Hi Aleksey,

kyber plots the percent identity against the read length, and the percent identity is unavailable without alignment. Do you have a use case for which alignment is not an option, then?

Best,
Wouter

@lmolokin
Copy link
Author

Got it. I don't have a compelling use case I was just thinking it could be used as a speedier alternative to NanoPlot for avg read quality vs length. We don't really have decent references for our organisms so our basecalling doesn't usually involve alignment.

Thanks!

@wdecoster
Copy link
Owner

So a solution would be for you to trust the read quality scores assigned by the basecaller? I guess that would be possible.

wdecoster added a commit that referenced this issue Nov 16, 2024
@wdecoster
Copy link
Owner

--ubam will be available in the next release, coming soon :)

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