Accessing blast nt database
2
1
Entering edit mode
3.5 years ago
langziv ▴ 70

Hello.

I wish to customize the blast database the installed on my server. The database path includes binary files which can't be read. How can one read the content of the database?

database blast • 1.2k views
ADD COMMENT
2
Entering edit mode
3.5 years ago
GenoMax 147k

I wish to customize the blast database the installed on my server

You can't do anything to the pre-made binary database files. If you want to customize the nt database you could download the fasta files for nt from this folder and then edit out anything you don't want and then re-make blast indexes from the edited file.

That said, it may be simpler to use some combination of -taxids, -taxidlist and -entrez_query options available in blast+ programs to limit your searches with the existing database.

ADD COMMENT
1
Entering edit mode
ADD COMMENT
0
Entering edit mode

I tried that and got an error message that says that the database name is wrong. The command I entered was

blastdbcmd -entry all -db nt.gz -out -reference.fasta

I also tried nt and taxdb instead of nt.gz.

ADD REPLY
0
Entering edit mode

nt.gz is not the index basename. It should be just nt. Once you get the command right it will dump out contents of entire nt database into a file in fasta format. You could get that file directly from the link I provided above.

ADD REPLY

Login before adding your answer.

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