Question: Use samtools to access bam file in aws s3 storage
1
gravatar for xing
2.9 years ago by
xing10
xing10 wrote:

I have a private aws bucket with aws_access_key_id, aws_secret_access_key, and region

How set I set up samtools 1.3 to make it work on bam files on aws s3 storage?

follow the instruction in A: Tool for random access to indexed BAM files in S3?

I can make the following command work $ samtools view s3://1000genomes/phase1/data/NA12878/exome_alignment/NA12878.mapped.illumina.mosaik.CEU.exome.20110411.bam 20:1000-100000 # works

but I can not make samtools work on my private bucket.

Any

Best,

Xing

samtools • 1.8k views
ADD COMMENTlink written 2.9 years ago by xing10

According to the post you linked to, it should only work for public buckets. Thus, it makes sense that it doesn't work for your private bucket.

ADD REPLYlink written 2.9 years ago by igor8.1k

You need to create a credential file in your home directory. I forgot the file name. Ask samtools-help.

ADD REPLYlink written 2.9 years ago by lh331k

I am curious, the command you have pasted does not work for me in samtools 1.9 or on any other files which I know are valid links. Any idea why?

ADD REPLYlink written 6 months ago by cmdcolin1.2k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 554 users visited in the last hour