problem in fastq-dump of SRA file
3
0
Entering edit mode
6.3 years ago
majeedaasim ▴ 60

I have downloaded an SRA file and named it "fastq.sra". Then I used fastq-dump as

fastq-dump fastq.sra --split-3 -I

BUt following error is shown

err: item not found while constructing within virtual database module - the path 'fastq.sra' cannot be opened as database or table

SRA fastq-dump • 3.0k views
ADD COMMENT
0
Entering edit mode

When possible search EBI-ENA with your SRA# and directly download fastq files avoiding all such issues.

ADD REPLY
1
Entering edit mode
6.3 years ago

How did you download the file? It’s likely that you’ve downloaded something like an error page. The first 8 bytes of the file should be ‘NCBI.sra’ (see here) which you can confirm by dumping the ASCII strings in the file:

$ strings fastq.sra | head -n1
NCBI.sra
ADD COMMENT
0
Entering edit mode
6.3 years ago
Ram ▴ 190

I think you should use the correct path for the command like this:

 /path/fastq-dump --split-3 file.sra
ADD COMMENT
0
Entering edit mode
6.3 years ago
jomo018 ▴ 720

Include the path of fastq.sra. For example:

fastq-dump ./fastq.sra --split-3 -I
ADD COMMENT

Login before adding your answer.

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