logo       
Google Custom Search
    AddThis Social Bookmark Button

RE: SearchIO on Blast error: msg#00241

Subject: RE: SearchIO on Blast error
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@xxxxxxxxxxx
http://bioperl.org/mailman/listinfo/bioperl-l



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>