[Bioperl-l] bad entries in interpro

Allen Day allenday at ucla.edu
Sat Nov 27 01:22:58 EST 2004


ooh, that's bad.  sorry, i didn't write this but (i think) the burden has
fallen on me to maintain it.

-allen


On Fri, 26 Nov 2004, Hilmar Lapp wrote:

> 
> On Friday, November 26, 2004, at 06:58  PM, Allen Day wrote:
> 
> > the problem is that iprscan (the program that produces the interpro xml
> > files) does not properly xml-escape some characters.  there is an 
> > if-block
> > in the module that tries to catch things like quotes and ampersands, 
> > but
> > it's by no means exhaustive.
> >
> 
> I looked at the module and now I'm confused. Did I miss something or 
> can you explain why
> 
>    my $zinc = "(\"zincins\")";
>    my $wing = "\"Winged helix\"";
>    my $finger = "\"zinc finger\"";
> 
> had to be hard-coded? I would have thought you wanted to encode (and 
> catch!) the quotes, not the phrase Winged helix?
> 
> Also, did you check whether CGI.pm or a LWP module or some such doesn't 
> solve this problem generically enough?
> 
> 	-hilmar
> 


More information about the Bioperl-l mailing list