Cannot download BAMs from SRA AWS
2
0
Entering edit mode
2.0 years ago
devenvyas ▴ 740

I am trying to get the BAM files from these SRA accessions

https://trace.ncbi.nlm.nih.gov/Traces/sra/?run=SRR1187911 https://trace.ncbi.nlm.nih.gov/Traces/sra/?run=SRR1045127

I have tried to download these both to our lab server and Stony Brook's cluster, and I get these same errors

[Vyas@sahara test]$ aws s3 ls --no-sign-request s3://sra-pub-src-5/SRR1187911

An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
[Vyas@sahara test]$ aws s3 ls --no-sign-request s3://sra-pub-src-10/SRR1045127

An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied

Not sure what is going on... Anyone have an idea?

bam • 1.5k views
ADD COMMENT
0
Entering edit mode
2.0 years ago
GenoMax 141k

Looks like there is no free egress for these BAM files. You will need to have a aws/google account that you can pay with to download.

400 Bucket is a requester pays bucket but no user project provided.

ADD COMMENT
0
Entering edit mode
2.0 years ago
Raman2 ▴ 30

Using fasq-dump or fasterq-dump (https://github.com/ncbi/sra-tools/tree/master/tools/fasterq-dump) from sra-tools would be the easiest way to download files from SRA

ADD COMMENT
0
Entering edit mode

It is not a question of the tools. I don't think it is possible to download "original format" data (in this case BAM files that are available under the "Data Access" tab) using the tools you mention.

ADD REPLY

Login before adding your answer.

Traffic: 1774 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6