[Bioperl-l] SearchIO on Blast error

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


I found my mistake, if only I used use strict, the $in variable would have been found right away.  but that's what I get when I quickly write some test code.

Thanks all
Brian

-----Original Message-----
From:	Brian Carlson
Sent:	Fri 12/20/2002 11:23 AM
To:	bioperl mail list
Cc:	
Subject:	[Bioperl-l] SearchIO on Blast error
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


_______________________________________________
Bioperl-l mailing list
Bioperl-l@bioperl.org
http://bioperl.org/mailman/listinfo/bioperl-l