Thanks for the answer. Now its working fine
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.
1 answer
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
Log in to answer this question.