-
Notifications
You must be signed in to change notification settings - Fork 242
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
Add InputStream support to VCFFileReader #723
Comments
Hi @btiernay. One alternative to streaming from stdin would be to implement or find a |
@btiernay @lbergelson related PR: #837 |
@lbergelson a while back you mentioned above functionality to read VCFs (and indexes?) from Path; is this the stuff in yf_vcf_from_path branch and is there a timeline on merging to master? We'd love this feature. |
@delocalizer You can currently load a vcf file and index from a path by using something along the lines of
It takes a String for complicated legacy reasons, but it will resolve the string with the appropriate We use this in gatk's FeatureDataSource which also does other things like automatic codec discovery and asynchronous prefetching from remote paths. |
Thanks @lbergelson; this is good! |
This is an enabler for remote streaming of VCF files from remote locations or even stdin. A common use case would be reading from an S3 bucket a slice of a VCF file without having to first transfer the entire file locally. The current File requirement is quite limiting for these types of usages.
The text was updated successfully, but these errors were encountered: