I am trying to run psiblast with database files downloaded from NCBI site.
I downloaded the latest version of nr.00., nr.01.,... from NCBI site, extract files from all tar.gz files, and put them all in the directory named '/home/kdoi2/raid/nr'.
When I run the test run from the command line as follows, I got the results successfully without error.
$ cd /home/kdoi2/raid/nr
$ ~/raid/ncbi-blast-2.11.0+/bin/psiblast -db nr -query test.fasta
I want psiblast to be able to run in any directory. However, when I try to run it in another directory,
$ cd /home/kdoi2/work
$ ~/raid/ncbi-blast-2.11.0+/bin/psiblast -db nr -query test.fasta
The process was terminated with following error.
Error: mdb_env_open: No such file or directory
I tried adding the following environment variable settings, but the situation did not improve.
$ BLASTDB=/home/kdoi2/raid/nr ~/raid/ncbi-blast-2.11.0+/bin/psiblast -db nr -query test.fasta
The contents of nr.pal are as follows.
#
# Alias file created 06/01/2022 05:20:27
#
TITLE All non-redundant GenBank CDS translations+PDB+SwissProt+PIR+PRF excluding environmental samples from WGS projects
DBLIST nr.00 nr.01 nr.02 nr.03 nr.04 nr.05 nr.06 nr.07 nr.08 nr.09 nr.10 nr.11 nr.12 nr.13 nr.14 nr.15 nr.16 nr.17 nr.18 nr.19 nr.20 nr.21 nr.22 nr.23 nr.24 nr.25 nr.26 nr.27 nr.28 nr.29 nr.30 nr.31 nr.32 nr.33 nr.34 nr.35 nr.36 nr.37 nr.38 nr.39 nr.40 nr.41 nr.42 nr.43 nr.44 nr.45 nr.46 nr.47 nr.48 nr.49 nr.50 nr.51 nr.52 nr.53 nr.54 nr.55 nr.56 nr.57 nr.58 nr.59
NSEQ 484513096
LENGTH 187235721710
From the manual, it does not appear that there is a problem with the nr.pal file. Also, it is clear from the result shown first that there is no problem with the database file either.
So what is the problem?
Did you set the
BLASTDB
variable on an independent command line? It looks like you are mixing it with an actual command line.Can you simply try
and tell us if it works?
Unfortunately, the situation has not changed.