This is a test version of Biostars. For the public version, visit https://www.biostars.org.
. [Blastall] Warning: Unable To Open Bos.Db.Nin

I created the database of 1 chr using makeblastdb tool of localblast. It showing me output, But it also showing me warning while i am blasting from programming. that ..

[blastall] WARNING: Unable to open bos.db.nin
[blastall] WARNING: Unable to open bos.db.nin
[blastall] WARNING: Unable to open bos.db.nin
[blastall] WARNING: Unable to open bos.db.nin
[blastall] WARNING: Unable to open bos.db.nin

.. is it an error or should i ignore this.bcs it showing me correct blast result.

r blast

2 answers

.nin is the index file and should have been created when executing makeblastdb. Is the file present on the disk? What were the arguments fed to makeblastdb?
How are you calling blast? Are you sure it is using bos.db and not another database set as default on your system?

I crted the dbase for Bos_taurus using Formatdb cmd of blast. data$ formatdb -i Btau.fa -p F -o T

and ya ds file is exist in data dir of balst.and also showing blast output with this warning 5 times. [blastall] WARNING: Unable to open Batu.fa.nin . . . . [blastall] WARNING: Unable to open Batu.fa.nin program is:-

@params = ('database' => 'Btau.fa','outfile' => 'bla.out', 'prog'=> 'blastn');

$factory = Bio::Tools::Run::StandAloneBlast->new(@params); $str = Bio::SeqIO->new(-file=>'testquery.fa' , '-format' => 'Fasta' ); $input = $str->nextseq(); $factory->blastall($input);

Manju

Ok, seems good from what I can see. Maybe it's a BioPerl problem, I don't really know the package though. For a test you could try to run BLAST directly on the commandline and see if that works.

I am using Biperl 1.69 version..and it does nt showing any error while i am running blasall in commandline..it showing me same result without any warning...So what should i do with this warning??

i Have BioPerl 1.69 version in my system...and ya its working fine in commandline. and showing the same result in blast file.but while i doing in programming it showing me warning with result.

Log in to answer this question.