Entering edit mode
11 months ago
Foad
▴
10
Hi,
I face this problem when I run blastx command in linux.
blastx -db ~/Downloads/uniprot_sprot.dat -query ../../../trinity_out_dir.Trinity.fasta -num_threads 2 -max_target_seqs 1 -outfmt 6 > balstx.outfmt6
Warning: [blastx] Examining 5 or more matches is recommended
BLAST Database error: No alias or index file found for protein database [/home/foad/Downloads/uniprot_sprot.dat] in search path [/home/foad/NGS-Book/Chapter2-RNA/Denovo_analysis/Firststep/Blast::]
Thanks in advance!
Foad
dat
files are not blast index ready. You should download thefasta
format file and create your own blast indexes usingmakeblastdb
.According to your explanation, i downloaded fasta file and then i used the makeblastdb command, after executing the command, a series of files will be generated. I use either of these in the blastx command, but I still get the same error as before in blastx.
you need to show the commands you are using, give the root to the names not the full file name
when blast says you don't have a database - it ALWAYS means one of these: