How can I solve the database error?
1
1
Entering edit mode
2.8 years ago
Kenan.gk ▴ 10
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.1k views
ADD COMMENT
0
Entering edit mode
2.8 years ago

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.

ADD COMMENT
0
Entering edit mode

Thank you for your answer.

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2090 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6