[Bioperl-l] SearchIO on Blast error
Jason Stajich
jason@cgt.mc.duke.edu
Fri, 20 Dec 2002 11:33:53 -0500 (EST)
there are plenty of example files in
t/data/
% ls t/data/*.bls t/data/*.blast*
You should also try running the test
% perl -w -I. t/SearchIO.t
(there will be undef warnings with the current code in CVS towards the end
of the tests)
On Fri, 20 Dec 2002, Brian Carlson wrote:
> 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
>
--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu