[Bioperl-l] Errors generated from example code in HOW-TO section
Jason Stajich
jason at cgt.duhs.duke.edu
Fri Aug 1 08:15:41 EDT 2003
http://bugzilla.bioperl.org/show_bug.cgi?id=1474
It is already fixed on the main trunk - I don't think we intend to a
1.2.3 release.
-jason
On Fri, 1 Aug 2003, Wes Barris wrote:
> The HOW-TO section http://www.bioperl.org/HOWTOs/html/Graphics-HOWTO.html
> shows examples using this code fragment:
>
> while( my $hit = $result->next_hit ) {
> next unless $hit->significance < 1.0;
> my $feature = Bio::SeqFeature::Generic->new(-score => $hit->raw_score,
> -seq_id => $hit->name,
>
> If warnings are turned on, then the 2nd line above produces these errors:
>
> Argument "e-171" isn't numeric in numeric lt (<) at blasttoimg.pl line 49, <DATA> line 191.
> Argument "e-163" isn't numeric in numeric lt (<) at blasttoimg.pl line 49, <DATA> line 191.
> Argument "e-160" isn't numeric in numeric lt (<) at blasttoimg.pl line 49, <DATA> line 191.
> Argument "e-160" isn't numeric in numeric lt (<) at blasttoimg.pl line 49, <DATA> line 191.
> Argument "e-160" isn't numeric in numeric lt (<) at blasttoimg.pl line 49, <DATA> line 191.
>
> I would suggest that when parsing a blast file, if the evalue does not
> begin with a digit, a '1' (one) should be placed at the beginning of the
> reported evalue.
>
>
--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu
More information about the Bioperl-l
mailing list