Hi everyone,
I have tabix working well locally but want to store my genomes on an S3 bucket (index files will likely stay local). I am having trouble getting this to work as advertised.
wget https://s3-eu-west-1.amazonaws.com/*/WGC069899D-hg38-sorted.vcf.gz
Resolving s3-eu-west-1.amazonaws.com... ...
Connecting to s3-eu-west-1.amazonaws.com|...|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 443976024 (423M) [application/x-gzip]
Saving to: 'WGC069899D-hg38-sorted.vcf.gz.1'
So no (permission) problems with accessing the file from this bucket.
But when I try tabix I get:
tabix https://s3-eu-west-1.amazonaws.com/*/WGC069899D-hg38-sorted.vcf.gz chr1:1000-2000
[E::hts_open_format] fail to open file 'https://s3-eu-west-1.amazonaws.com/*/WGC069899D-hg38-sorted.vcf.gz'
Could not read https://s3-eu-west-1.amazonaws.com/*/WGC069899D-hg38-sorted.vcf.gz
When I do the same tbix on the file locally, it works fine?
What am I missing?
Thanks.
stupid questions:
What happens if you instead
tabix s3://*/WGC069899D-hg38-sorted.vcf.gz chr1:1000-2000
, where*
is the bucket on S3? At least for bam/cram files that sort of thing works.