Question: Blast database error: No alias or index file found for protein database [swissprot]
1
gravatar for ritika.kabra15
2.1 years ago by
ritika.kabra1510 wrote:

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 • 3.6k views
ADD COMMENTlink modified 2.1 years ago by st.ph.n2.4k • written 2.1 years ago by ritika.kabra1510
3
gravatar for st.ph.n
2.1 years ago by
st.ph.n2.4k
Philadelphia, PA
st.ph.n2.4k wrote:

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 COMMENTlink modified 2.1 years ago • written 2.1 years ago by st.ph.n2.4k

Thanks for the answer. Now its working fine

ADD REPLYlink written 2.1 years ago by ritika.kabra1510

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

ADD REPLYlink written 2.1 years ago by st.ph.n2.4k

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

ADD REPLYlink written 12 months ago by Shixiang30
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2522 users visited in the last hour