wget and downloading BLAST results
1
0
Entering edit mode
4.7 years ago
supertech ▴ 180

Hi,

If I use the following url directly in the browser window, the associated file directly downloads into my computer: https://www.ncbi.nlm.nih.gov/sviewer/viewer.cgi?tool=portal&save=file&log$=seqview&db=nuccore&report=genbank&id=1741021740&from=891317&to=891649&

However, how to I fetch this URL using wget, which is designed to fetch and download. It did not work with the above URL.

What I want to do is to download hundreds of genbandID (url form like above) automatically by putting them in a file.

Thanks

wget alignment • 1.0k views
ADD COMMENT
1
Entering edit mode
4.7 years ago
GenoMax 147k

Use NCBI EUtils, if you want to use wget.

$ wget -O - -q "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&rettype=gb&id=1741021740&from=891317&to=891649&"

Otherwise using NCBI Entrezdirect:

 $ efetch -db nuccore -id 1741021740 -format gb -seq_start 891317 -seq_stop 891649
ADD COMMENT
0
Entering edit mode

Thanks. I will look into these options.

ADD REPLY

Login before adding your answer.

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