Blast Help On Nucleotide Collection Nr/Nt
2
4
Entering edit mode
11.1 years ago
Matt ▴ 60

I am running a local blast server. I can format and blast my own databases. However, I am unsure of how to setup the "Nucleotide collection nr/nt" database from this NCBI Blast URL.

Can I just download a preformatted db and use the update script? Which database is it? Is it just both the nr and nt databases? Isn't blastn used for the nt database and blastp used for the nr database? Can I blast them both at the same time? If so how?

I have been using the following commands:

blastp -word_size 7 -evalue 10 -query test.fasta -db "nr.00 nr.01"


and blastn -word_size 11 -evalue 10 -query test.fasta -db nt.00

Matt

blast ncbi fasta alignment blast • 29k views
0
Entering edit mode

Thanks --- I was wondering too!

10
Entering edit mode
11.1 years ago
Neilfws 49k

I think your confusion stems from the use of the term "Nucleotide collection nr/nt", on the BLAST page to which you linked.

In that case, "nr/nt" stands for "non-redundant nucleotide." However, as you point out, NCBI also make separate databases available for download. In this case, "nr" is non-redundant protein, "nt" is non-redundant nucleotide.

Yes: you would blastn versus nt and blastp versus nr. No: you cannot BLAST both "at the same time." You need to choose an appropriate combination of BLAST program and database. For example, you can BLAST nucleotide queries against the protein database by using blastx, which first translates the queries in 6 frames.

The 2 files nr.00 and nr.01 simply mean that the database has been split into two parts, because it is very large. Older BLAST versions used an additional index file - it used to be called "nr.pal" and may still be called that. Provided that 00, 01 and the index file all reside in the same location, local BLAST will "stitch" the 2 parts together in the background and you just specify "nr" as the database. Alternatively (since I have not upgraded to BLAST+ myself), it may be that the index file is no longer required.

0
Entering edit mode

Thanks for the help!

0
Entering edit mode

So I have the same issue except the nt databases are now in 27 parts. I downloaded all of them but cannot extract any of them because there is absolutely no space. I extracted the nt.00 file first and that had a nt.pal file. Is that all I need?

Am I required to download ALL the nt files because I don't see how this is possible given the space requirements.

0
Entering edit mode

I have the same issue. nt is now in 31 parts. How should I do?

0
Entering edit mode

You'll need ~ 34.2 GB for the current nt database (once extracted from the .tar.gz files). If you don't have that, you can't run it locally.

1
Entering edit mode
11.1 years ago
Digiomics ▴ 170

Actually, the "nr" database has currently 6 parts, so it should be nr.00 to nr.05. If you have trouble using the update script, you can also download preformated blast databases from the NCBI ftp server

0
Entering edit mode

I will do that. Thank you!