Iprscan.xsl can't load XML files

From BioWeka

Contents

Applies to

  • BioWeka, any version
  • iprscan.xsl, any version
  • InterProScan 4.1 or earlier

Symptom

The XslXmlLoader can not load the XML file.

Cause

InterProScan produces invalid XML output.

Resolution

We recommend to use the version 4.1 of InterProScan. In addition the file bin/converter.pl has to be fixed. Replace the line 554 with the following code:

my $name;
$name = xml_quote($results{$seq}{$k}{$hit}{'name'});
print "\t  <match id=\"$hit\" name=\"$name\" dbname=\"", Index::InterPro->getDBname($k), "\">\n";

The BioWeka distribution contains also a fixed version of the file bin/converter.pl. See directory etc/patches/iprscan/bin.