Using sam-dump to convert .sra to .sam file from dbGaP
0
0
Entering edit mode
8.7 years ago
lujie0823 • 0

I have downloaded .sra files under gap accession phs000552. I have configured sratoolkit following the instruction and was able to download .sra files from that project. When I tried to run sam-dump to get sam files from these .sra files, I got error messages:

./sam-dump /scratch/02078/jl32587/MENINGIOMA/SRR619296.sra

/scratch/02078/jl32587/MENINGIOMA/SRR619296.sam


# <error message>
2015-09-22T20:25:52 sam-dump.2.5.2 err: item not found while reading file - input object(s) not found

I also tried to run sam-dump to directly pull sam files:

sam-dump SRR619137 >test.sam

# <error message>
2015-09-22T20:31:36 sam-dump.2.5.2 err: query unauthorized while resolving tree within virtual file system module - failed to resolve accession 'SRR619137' - Access denied - please request permission to access phs000552/DS-BDBC-NPU-MDS in dbGaP ( 403 )
2015-09-22T20:31:36 sam-dump.2.5.2 err: item not found while reading file - input object(s) not found

In contrast, when I run sam-dump using the example in the documentation, it did work.

sam-dump SRR390728

I am wondering if anyone has encountered this error and has addressed it.

Thanks!

software-error • 3.8k views
ADD COMMENT
0
Entering edit mode

Looks like this is a protected SRA file. Do you have permission to use/access it?

ADD REPLY

Login before adding your answer.

Traffic: 2154 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