Smithies, Russell | 13 Jan 23:25 2013

Re: stand alone blast plus problem

Hi Frej,
Here's a few things to try:
Is it possible you need to escape the special chars in your IDs? i.e. the pipes and colons?
Have you tried it with simpler IDs?
Is your BioPerl sequence object collection created correctly?
Can you create the database by just passing it the fasta file?

$fac = Bio::Tools::Run::StandAloneBlastPlus->new(
  -db_name => 'mydb',
  -db_data => 'myseqs.fas',
  -create => 1


-----Original Message-----
From: bioperl-l-bounces <at> [mailto:bioperl-l-bounces <at>] On
Behalf Of Frej Tulin
Sent: Friday, 11 January 2013 3:53 p.m.
To: bioperl-l <at>
Subject: [Bioperl-l] stand alone blast plus problem


I have been trying for a long time to control my blast searches with the
Bio::Tools::Run::StandAloneBlastPlus module.

The module is installed and gets loaded ok.

However, when calling:
my $blast_db = Bio::Tools::Run::StandAloneBlastPlus -> new
(    -db_data => \ <at> seq_arr,
    -create => 1);

$blast_db -> make_db();
I get this error
------------- EXCEPTION: Bio::Root::Exception -------------
MSG: /home/frej/ncbi-blast-2.2.27+/bin/makeblastdb call crashed: There was a problem running
/home/frej/ncbi-blast-2.2.27+/bin/makeblastdb : Error:
NCBI C++ Exception:

line 1689: Error: ncbi::objects::CSeq_id::x_Init() - Unsupported ID type

STACK: Error::throw
STACK: Bio::Root::Root::throw
STACK: Bio::Tools::Run::WrapperBase::_run
STACK: Bio::Tools::Run::StandAloneBlastPlus::make_db

The general header format of the fasta files I've tried are

I always get the same message.
I have tried modifying the header by putting 'lcl|' in from but nothing seems to help.
When I build a database using the makeblastdb directly from the command line it works ok, it just doesn't
work from within bioperl.

How can this be? What am I doing wrong?

helpful for any assistance


Frej Tulin
Fred Cross lab
Rockefeller University
Bioperl-l mailing list
Bioperl-l <at>

Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.