On 17 Dec 2018, at 19:08, Rob Thompson <r...@chronomics.com> wrote: > I have compiled bcftools with all the required -lcurl -lcrypto -lssl libs. > > I can read from a public S3 file fine, but as soon as its make private I just > get: > Failed to open FILE.vcf.gz: Permission denied > > AWS credentials are set in ~/.aws/credentials. I have tried exporting them, > pre-signed urls, with https instead of s3:// but nothing seems to work.
Assuming you have compiled HTSlib as well, try htsfile -vvvvvv s3://FILE.vcf.gz Cranking up the verbosity this high turns on libcurl's logging of the HTTP headers etc sent and received, which will provide some clues. John _______________________________________________ Samtools-help mailing list Samtools-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/samtools-help