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

Remove cram data uri check #1548

Merged
merged 1 commit into from
Sep 27, 2022
Merged

Conversation

dennishendriksen
Copy link
Contributor

In a previous comment it was mentioned that data URIs don't work for the cram format. Data URIs seem to work just fine for the cram format when removing the check that disables it, see the provided test case. You must provide an indexURI (which can also be a data URI), but I guess that is always the case for cram alignment tracks?

This makes sense since the underlying code in igv-utils handles data retrieval for both data URIs and other URIs.

We're currently using embedded bams in offline html files and would be really happy if we could switch to cram to reduce file size.

@jrobinso
Copy link
Contributor

OK, thanks for the PR. This has evolved over the years, originally the data URI was expanded in place and indexes were ignored, it gradually became more consistent with "regular" URIs

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

Successfully merging this pull request may close these issues.

2 participants