[Bioperl-l] [BULK] Re: can't parse blast file anymore

Hubert Prielinger hubert.prielinger at gmx.at
Fri May 5 18:30:24 UTC 2006


hi,
I have done, as you suggested and I got the error message:

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

then I looked up at the internet and found a thread which suggested to 
use strict and then the problem is solved....
but I'm already using use strict..

thanks

Torsten Seemann wrote:
> Hubert Prielinger wrote:
>   
>> if I do so it returns:
>> 0 undef
>>     
>
> That means the value of $search was undef.
> That means that it could not parse or open the BLAST report.
> I repeat the line that I put in my earlier email which you ignored.
>
> # your line
> my $search = Bio::SearchIO->new( ..... );
>
> # then check if it was successful!
> die "could not open blast report" if not defined $search;
>
> --Torsten
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
>
>   




More information about the Bioperl-l mailing list