[Bioperl-l] Bio::SearchIO::psiblast

Liliana Davalos davalos at email.arizona.edu
Mon Dec 6 13:32:13 EST 2004


Hi,

I am trying to parse the result of a psi-blast search using SearchIO. I 
get thrown with the message at the bottom, although I am using the 
textbook example:

use Bio::SearchIO;

     my $in = Bio::SearchIO->new( -format  => 'psiblast',
                                  -file    => 'report.blastp' );

     while ( my $blast = $in->next_result() ) {
         foreach my $hit ( $blast->hits ) {
             print "Hit: $hit\n";
         }
    }

Error message:

Can't locate object method "result_factory" via package 
"Bio::SearchIO::psiblast" at 
/usr/local/lib/perl5/site_perl/5.6.0/Bio/SearchIO/psiblast.pm line 668, 
<GEN1> line 16.

Does anyone have working examples?

Thanks, Liliana



More information about the Bioperl-l mailing list