Hi All,
I am using nr.gz database downloaded from ftp.ncbi.nlm.nih.gov/blast/db/FASTA/nr.gz
. I am doing this after several years and I don't remember exactly if this is how this should be extracted. So here is what I have tried formatdb -i nr.gz -o T -p T
which doesn't seem to work anymore or gives me this error:
[formatdb] WARNING: Cannot add sequence number 1 (lcl|1_nr.gz) because it has zero-length.
.
I would really appreciate if someone could guide me through correct procedure.
small side note:
formatdb
is linked to quite old blast versions, nowadays it's replaced bymakeblastdb
, part of the most recent blast+ versions.Why did you not get the pre-made
nr
blast indexes from ftp://ftp.ncbi.nih.gov/blast/db/?Thanks.. should I just download nr.* then?
Yep. That would be the easiest.
One more question-Do I have to do
makeblastdb
after I untar all these files? Thanks again!No there is nothing more to do. Just untar all files and make sure they are all in the same directory.