This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Why I Am Getting This Error " No Alias Or Index File Found For ..... Database"

I format my yeast.aa amino acid with this command

makeblastdb -dbtype prot -in yeast.aa -hash_index

it created several files then i run this query command with blastp

blastp -query reptiles.fasta -db yeast

which throws error saying

no alias or index file found for ......

please resolve my issue

actually i want to align two seq on my machine using standaloneblast+

It doesn't find your database. So where is it?

sir i have placed yeast.aa in same folder where after executing makeblast all file is also kept , ifact all file in same folder from all exe to db files

try blastp -query reptiles.fasta -db yeast.aa if that doesn't work locate the full path to yeast.aa and try that: blastp -query reptiles.fasta -db /path/to/yeast.aa

1 answer

If you don't specify a name for your db, then it will be exactly the same as the input file, i.e. in this case "yeast.aa". The files in your directory are called yeast.aa.nhd, yeast.aa.nhi, etc., aren't they?

yes they are. but why I am getting this error message " No alias or index file found for protein database [yeast] in search path [c::\user\welkin_akash\Desktop\Job portal\vvk sir\bin; ;]

how to create that index file

The error is because in your blastp command line you call the database "yeast", when it should be called "yeast.aa".

Alternatively, use "-out yeast" in the makeblastdb command line, to name the database "yeast".

Log in to answer this question.