Blast_Formatter: How To Choose Which Database To Read From?
2
1
Entering edit mode
13.3 years ago
User 6228 ▴ 110

Hi, I am attempting to use the blast_formatter included with Blast+ 2.2.24 to convert a blast archive file to xml format. However, I get this error message when I run the command:

BLAST Database error: Nucleotide BLAST database 'beij' does not exist in the NCBI servers

Here is the command I'm running:

blast_formatter -archive beij_archive.asn -outfmt 5 -out beij_archive.xml

I tried this:

blast_formatter -db $HOME"/beijerinckia_indica_subsp_indica_atcc_9039/beij" \
-archive beij_archive.asn -outfmt 5 -out beij.xml

But I get an error that db is not a supported option. How do I specify the local DB I used to generate the archive file? Or is there something I'm missing.

Thanks for your help!

blast blast blast • 7.2k views
ADD COMMENT
0
Entering edit mode

As blast_formatter is relatively new and it does not seem to support local databases in 2.2.23+, maybe there is still a bug in 2.2.24+. Have you tried it with the newest one as well?

ADD REPLY
0
Entering edit mode

I'm getting the same error in 2.2.25+.

ADD REPLY
1
Entering edit mode
13.2 years ago
ALchEmiXt ★ 1.9k

You might want to check this documentation: http://www.ncbi.nlm.nih.gov/books/NBK1763/ The blast_formatter utility formats BLAST RESULT ARCHIVES being output by the -outfmt 11 parameter. Its usages is more or less explained at paragraph 5.8 and doesn't seem to involve the original BLAST database anymore. At least that is what I make up from the docs.

ADD COMMENT
1
Entering edit mode
4.6 years ago
michael ▴ 10

This is years too late. However, the more recent blast releases for sure do support local databases. But the answer is not correct with respect to the notion that the reformatting from format 11 (blast archive, .asn) does not involve the original databases. This can clearly be seen if you simply open up a blast archive. It does not contain the homologous sequences of all the hits, but only the metadata. To generate the xml or html file, blast_formatter does need to query the original database.

ADD COMMENT

Login before adding your answer.

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