How To Convert Db Format From Nih Blast To Blat Requirement
1
2
Entering edit mode
12.3 years ago
Sequer ▴ 150

Hi I want to run a local BLAT for a huge set of short reads and intend to use BLAT for that. I find that the env_nt db from NCBI is in a different format whereas BLAT requires .fa, .nib or .2bit files to align against.

May I know how to convert the database to BLAT's needs?

blast blat database conversion • 5.2k views
ADD COMMENT
5
Entering edit mode
12.3 years ago
Neilfws 49k

If you already have env_nt in BLAST database format, you can dump the contents to a fasta file. This requires the command blastdbcmd (for the newer BLAST+) or fastacmd (for the older BLAST). See the BLAST Command Line Applications User Manual for details, or try fastacmd - or blastdbcmd -help at the command line.

Otherwise, just download env_nt in fasta format from the NCBI FTP site:

wget ftp://ftp.ncbi.nih.gov/blast/db/FASTA/env_nt.gz
gunzip env_nt.gz
ADD COMMENT
0
Entering edit mode

damn didn't know they had the FASTA format db. Thanks for your help.

ADD REPLY
0
Entering edit mode

Hi, I want to convert 16S Microbial database (format LASst) in FASTA format? I know that I must use blastdbcmd commandline, but I canĀ“t install BLAST programm. I want to use window version. Can you help me???

Thanks a lot!!!

ADD REPLY

Login before adding your answer.

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