SRA Toolkit Error while using prefetch
2
1
Entering edit mode
2.5 years ago
Bharat ▴ 10

After installing SRA-toolkit I downloaded an SRA file and when I tried to download another SRA file then it gave me the following error:

prefetch:` symbol lookup error: /lib/x86_64-linux-gnu/libncbi-vdb.so.2: undefined symbol: vdb_mbedtls_md_setup

How to fix this?

sra-toolkit • 3.4k views
ADD COMMENT
0
Entering edit mode

What OS are you doing this on? It is best to install sratoolkit using conda to avoid these types of problems.

ADD REPLY
2
Entering edit mode
2.5 years ago

Try using SRA explorer to download FASTQ directly. SRA format is a big waste of time.

https://sra-explorer.info/

ADD COMMENT
1
Entering edit mode
2.5 years ago

For programmatically downloading fastq files and associated metadata, ENA's API is quite useful. E.g. get links and metadata of fastq files associated to accession PRJNA374918:

curl -X GET "https://www.ebi.ac.uk/ena/portal/api/filereport?accession=PRJNA374918&fields=run_accession,library_name,library_layout,fastq_ftp&result=read_run"

This gives you a sample sheet that you can easily parse to actually download the fastq files.

For fields available to filereport run

curl -X GET "https://www.ebi.ac.uk/ena/portal/api/returnFields?dataPortal=ena&result=read_run"

However, if prefetch gives errors there may be probelms with the accession you are using.

ADD COMMENT

Login before adding your answer.

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