[Bioperl-l] problem with swissprot parsin

Hilmar Lapp hlapp at gmx.net
Sat Oct 16 22:08:36 EDT 2004


On Friday, October 15, 2004, at 11:39  AM, Siddhartha Basu wrote:

> Here is the error:
> ===
> Use of uninitialized value in substitution (s///) at
> /usr/lib/perl5/site_perl/5.8.3/Bio/SeqIO/swiss.pm line 856, <GEN0> 
> line 80.
> Use of uninitialized value in string eq at
> /usr/lib/perl5/site_perl/5.8.3/Bio/SeqIO/swiss.pm line 1002, <GEN0> 
> line
> 154.
> Use of uninitialized value in string eq at
> /usr/lib/perl5/site_perl/5.8.3/Bio/SeqIO/swiss.pm line 1002, <GEN0> 
> line
> 182.
> Use of uninitialized value in string eq at
> /usr/lib/perl5/site_perl/5.8.3/Bio/SeqIO/swiss.pm line 1002, <GEN0> 
> line
> 214.
> ====
>

Note that these are warnings, not errors. They should not in any way 
have negatively affected your script. The first of the 4 warnings means 
that for that sequence one of the references wouldn't have the author 
set. The other three had zero effect other than cluttering the terminal 
screen.

I fixed the code to make these warnings go away and handle the RA/RG 
case correctly.

	-hilmar

-- 
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------




More information about the Bioperl-l mailing list