Issues while running blastx
1
0
Entering edit mode
4 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

blastx RNA-seq • 584 views
ADD COMMENT
1
Entering edit mode

~/Downloads/uniprot_sprot.dat

dat files are not blast index ready. You should download the fasta format file and create your own blast indexes using makeblastdb.

ADD REPLY
0
Entering edit mode

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.

makeblastdb -in uniprot_sprot.fasta  -dbtype prot



uniprot_sprot.fasta.pdb uniprot_sprot.fasta.pin  uniprot_sprot.fasta.psq  uniprot_sprot.fasta.pto
uniprot_sprot.fasta.phr  uniprot_sprot.fasta.pot  uniprot_sprot.fasta.ptf
ADD REPLY
0
Entering edit mode

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:

  1. you don't have a blast database or
  2. the path the the database is incorrect
ADD REPLY
0
Entering edit mode
4 months ago

As the blast error says, the name of the blast index is incorrect.

ensure that you are using the correct database name

ADD COMMENT

Login before adding your answer.

Traffic: 1547 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