[Bioperl-l] SearchIO on Blast error

Brian Carlson bcarlson@genetics.emory.edu
Fri, 20 Dec 2002 11:23:55 -0500


I have the following test script that I'm using to play with searchIO.

#!/usr/bin/perl

  use Bio::SearchIO;
  $rpt = "blast.txt";
  # Get the report
  $searchio = new Bio::SearchIO ('-format' => 'blast',
                                 '-file'   => $rpt);
  $result = $in->next_result;



I'm getting the following error:

Can't call method "next_result" on an undefined value at line...

Could someone email me a test blast file that I can work with to verify that my file doesn't have a format problem, or is this a BioPerl installation issue?

Thanks,
Brian