How do I download and set up a subset of a local database from NCBI?
1
1
Entering edit mode
4.0 years ago
geosmin ▴ 20

I want to use blast+ on a local preformatted database from NCBI using:

update_blastdb.pl --decompress nr

However, since I don't have that much space on my computer I just want to download a subset of sequences (e.g. limited to cyanobacteria). Is it possible to include this in the command?

Also I was wondering if it would be better to download the genomes and instead perform a blastx search on the complete genome? Would I set this up downloading the nt database?

blast+ ncbi local database • 976 views
ADD COMMENT
1
Entering edit mode
4.0 years ago
5heikki 11k

You can parse Cyanobacteria genome NCBI ftp urls from this file and then use a tool like wget or curl to download the genomes. Then you make your Cyanobacteria db with the makeblastdb command

ADD COMMENT
0
Entering edit mode

Thank you! I can't open the link though. Could you explain how did you get to this summary?

ADD REPLY
0
Entering edit mode

Don't try to open the link, it's a huge file and will most likely freeze your browser. Just download the file instead..

ADD REPLY

Login before adding your answer.

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