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

Feature request: read from url #123

Open
wdecoster opened this issue Jan 31, 2024 · 2 comments
Open

Feature request: read from url #123

wdecoster opened this issue Jan 31, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@wdecoster
Copy link

Hi,

Would you like to add the option to read an alignment bam/cram file from ftp/https/s3? I could open a PR, but I wanted to check first.
Additionally, I wonder why you still consider cram to be unstable and advice against it. Setting the CRAM_OPT_REQUIRED_FIELDS could greatly speed up parsing cram files, depending on which fields you need to decode (see for example https://brentp.github.io/post/cram-speed/).

Wouter

@ArtRand
Copy link
Contributor

ArtRand commented Jan 31, 2024

Hello @wdecoster,

Yes this is something we can add. I'll try and get it into the next release. Happy to review a PR but no worries if you're busy.

@ArtRand ArtRand added the enhancement New feature or request label Jan 31, 2024
@wdecoster
Copy link
Author

As I got stuck doing something similar, this can help: rust-bio/rust-htslib#404

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

No branches or pull requests

2 participants