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

Fail gracefully on bam with no reads in viral-core::read_utils::minimap2_idxstats(), and/or provide informative error message #101

Open
tomkinsc opened this issue Apr 25, 2024 · 0 comments

Comments

@tomkinsc
Copy link
Member

Currently, read_utils::minimap2_idxstats() fails when given a bam with a header and read group, but no reads. The guardrails against empty input (i.e. header but not reads) should be improved to fail gracefully in a way that is more helpful for the user to diagnose empty input as the cause of failure.
Example failure: https://job-manager.dsde-prod.broadinstitute.org/jobs/ac7fdc14-db49-4ec4-9b19-e1bdb3e18d00

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

1 participant