Question: blastn execution error, the correct command line format
0
gravatar for vigneshprbh37
4.6 years ago by
INDIA
vigneshprbh3720 wrote:

so iam trying to test my blast+  standalone program with the following command

./blastn -db /home/Desktop/ncbi-blast-2.2.30+/db/nr  -query /home/Downloads/sequence.fasta  -out /home/CCMB/Downloads/output/result

but everytime i get the error not a valid output format

can anyone give me an idea of the general execution command and format for nucleotide blast and correct me if my command is miswritten

 

i tried the command

 ./blastn -db /home/Desktop/ncbi-blast-2.2.30+/db/nr -query /home/CCMB/Downloads/sequence.fasta -out /home/Downloads/outbox/result.txt

but it always shows the error
"BLAST Database error: No alias or index file found for nucleotide database [/home/Desktop/ncbi-blast-2.2.30+/db/nr] in search path [/home/Downloads/ncbi-blast-2.2.30+/bin::"

blast sequence nucleotide • 3.7k views
ADD COMMENTlink modified 15 months ago by Biostar ♦♦ 20 • written 4.6 years ago by vigneshprbh3720
3
gravatar for edrezen
4.6 years ago by
edrezen720
France
edrezen720 wrote:

Hello,

You try to use blastn with the db bank being nr (protein bank), but blastn is made for comparing nucleotides bank vs another nucleotides bank.

So, you should use another db bank (like nt) or change to the correct blast tool (could be blastx in your case if your query bank has nucleotides)

Once your choice is made, you have to configure the db bank with the makeblastdb tool (look at this page). In your case, it should be something like this:

makeblastdb –in nr –dbtype prot 

or

makeblastdb –in nt –dbtype nucl

 

ADD COMMENTlink written 4.6 years ago by edrezen720
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1848 users visited in the last hour