This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Blast Fatal Error -Database Not Found

I am using blastall 2.2.26 on ubuntu for local databse blast for

Query: c4_n2_train.fasta;

Database: c4_n2_test.fasta;

With my database files in the same directory, but still I am getting FATAL ERROR

$ ls
c4_n2_test.fasta   c4_n2_train.fasta.phr  c4_n2_train.fasta.psq
c4_n2_train.fasta  c4_n2_train.fasta.pin  formatdb.log

$ blastall -p blastp -d ./c4_n2_train -i c4_n2_test.fasta -m 8
[blastall] FATAL ERROR: sp|Q83943_N13|1A_OLV2I: Database ./c4_n2_train was not found or does not exist

$ blastall -p blastp -d c4_n2_train -i c4_n2_test.fasta -m 8
[blastall] FATAL ERROR: sp|Q83943_N13|1A_OLV2I: Database c4_n2_train was not found or does not exist

Am I grossly missing out something. Any suggestions on how to trouble shoot this. Thank you.

blast error

oh, never mind, seems like you built a db

1 answer

Your blast database name is c4_n2_train.fasta not just c4_n2_train!

Thank you @arnstrm for pointing the error, I was under notion that I have to use base name for the database and not the fasta files. Its working now.

Log in to answer this question.