This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How can I solve the database error?
C:\Program Files\NCBI\blast-2.9.0+\bin>makeblastdb -in human.fasta -dbtype prot -out human

Building a new DB, current time: 02/26/2022 20:02:21
New DB name:   C:\Program Files\NCBI\blast-2.9.0+\bin\human
New DB title:  human.fasta
Sequence type: Protein
Keep MBits: T
Maximum file size: 1000000000B
Adding sequences from FASTA; added 1 sequences in 0.0004694 seconds.

C:\Program Files\NCBI\blast-2.9.0+\bin>blastp -query celeganse.fasta -db human -out humanceleg.csv -outfmt 6 -evalue 0.00001 -max_target_seqs 1 -num_threads 4

**Warning: [blastp] Examining 5 or more matches is recommended**

**BLAST Database error: No alias or index file found for protein database [human] in search path [C:\Program Files\NCBI\blast-2.9.0+\bin;;]****
blast r cmd

1 answer

for starters you should not be running it in the same folder that the tool is installed, it will create a mess there

as for the problem, I am suspecting that the reason for getting the error is that you are running it from a path with spaces in the name (C:\Program Files\...

the way you run it looks correct otherwise.

create a working directory in your computer C:\work switch to that, run your commands in that and see what happens. I suspect it will work that way.

I'm having the same issue when blasting on a Mac. But when I adapted your suggestion for my code it didn't work

Log in to answer this question.