You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running IndexFeatureFile on a compressed vcf stored on GCS, tool fails, error message:
A USER ERROR has occurred: Error while trying to create index for dir/file.vcf.gz. Error was:
htsjdk.tribble.TribbleException.FeatureFileDoesntExist: Unable to open the input file, most
likely the file doesn't exist., for input source: /dir/file.vcf.gz
When running on an uncompressed vcf on GCS, the tool succeeds.
I've traced the issue to SeekableStreamFactory.getStreamFor in htsjdk, which gets called from IndexFactory.initIndexableBlockCompressedStream (also in htsdjk), and doesn't appear to handle GCS paths correctly.
The text was updated successfully, but these errors were encountered:
* Don't call toAbsolutePath on our Paths since it resolves paths that are not already absolute to a (implementation dependent) default location, which will often return an incorrect result for non-default file systems.
* Cosmetic improvement to the error reported in #6348
Bug Report
Affected tool(s) or class(es)
IndexFeatureFile
Affected version(s)
Description
When running IndexFeatureFile on a compressed vcf stored on GCS, tool fails, error message:
When running on an uncompressed vcf on GCS, the tool succeeds.
I've traced the issue to
SeekableStreamFactory.getStreamFor
in htsjdk, which gets called fromIndexFactory.initIndexableBlockCompressedStream
(also in htsdjk), and doesn't appear to handle GCS paths correctly.The text was updated successfully, but these errors were encountered: