Blast database error: No alias or index file found for protein database [swissprot]
1
1
Entering edit mode
7.1 years ago

Hii everyone, I am using Blast 2.6.0+ on mac OS. I created the database using following code:

$ makeblastdb -in swissprot.fa -dbtype prot -out db/blast/swissprot -hash_index

This command succesfully executed and created 8 files: swissprot.phd, swissprot.phi, swissprot.phr, swissprot.pin, swissprot.pog, swissprot.psd, swissprot.psi and swissprot.psq. I tried to run blastp through following command:

$ blastp -query start.fasta -db /Users/AA/Desktop/db/blast/swissprot

It showed following error: BLAST Database error: No alias or index file found for protein database [swissport] in search path [/Users/AA/Desktop/db/blast::]

What and where am I doing wrong? Please help me in resolving this error. Thanks a lot in advance.

blast • 8.1k views
ADD COMMENT
3
Entering edit mode
7.1 years ago
st.ph.n ★ 2.7k

Try this: (make sure your working directory is your desktop)

makeblastdb -in swissprot.fa -dbtype prot -input_type fasta -out db/blast/swissprot.fa -hash_index

blastp -query start.fasta -db /Users/AA/Desktop/db/blast/swissprot.fa
ADD COMMENT
0
Entering edit mode

Thanks for the answer. Now its working fine

ADD REPLY
0
Entering edit mode

Glad to hear. If my answer helped you, please accept it.

ADD REPLY
0
Entering edit mode

Why it works? Can you provide some links or documentation to learn these commands?

ADD REPLY

Login before adding your answer.

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