How to set up Swissprot database for ncbi-blast+ using anaconda
1
0
Entering edit mode
5.4 years ago
nazza2008 • 0

Hello, I'm trying to install ncbi-blast+ with SwissProt database using anaconda. I already install the ncbi-blast+ package, how to I setup the database? I'm on ubuntu 18.04

ncbi blast anaconda ubuntu • 4.7k views
ADD COMMENT
1
Entering edit mode
5.4 years ago
h.mon 35k

The same way you set up any Blast+ database: download the fasta file and build the Blast+ database:

wget ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.fasta.gz
gunzip uniprot_sprot.fasta.gz
makeblastdb -in uniprot_sprot.fasta -out uniprot_sprot -type prot
ADD COMMENT
0
Entering edit mode

Do we need to create an environment variable $BLASTDB to point to the directory where we want to store our database?

ADD REPLY
0
Entering edit mode

You don't need to set up $BLASTDB. For example, my databases are scattered all over - most of them are project-specific - and I just pass the whole path to the database.

However, it will be helpful to set $BLASTDB if you have a lot of databases at the same location, or if you want to have lots of different locations available to Blast without complications.

ADD REPLY

Login before adding your answer.

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