Question: Is It True That There Is No Parser For Interproscan 5 Xml?
gravatar for Michael Dondrup
5.0 years ago by
Bergen, Norway
Michael Dondrup45k wrote:

I have the output of an InterProScan 5 RC7 run in XML format. Unfortunately, I was unable to locate an appropriate parser. The BioPerl parser doesn't understand it, it seems to support up to version 4, error message:

no element found at line 206, column 0, byte 14045 at /opt/local/lib/perl5/site_perl/5.12.3/darwin-thread-multi-2level/XML/ line 187

Also, this seems to be a known issue:

I was searching for a while but wasn't able to locate:

  • a parser Bio* library in any language (except ofc generic XML parser, please do not recommend generic XML parsing)
  • an XSLT stylesheet to convert interproscan 5 RC7 to e.g. interproscan 4 format

The schema definitions are here: There are two of them, RC1-6 and RC7 schemata.

Maybe if you are among the responsible people for this project, you could also explain:

  • why this drastic change to a completely different format
  • without providing a parser or conversion solution
  • or without informing the Bioperl/python communities?

Edit: Thank you for prooving me wrong, the conversion has been taken care of by the developers already from the beginning. So, we are just lacking native BioPerl/Python support.

This is how my file begins. I think that this is also a mistake because the schema is not referenced (correctly, nothing points to a correct schema version).

<protein-matches xmlns="&lt;a href=" http:="""" interpro="" resources="" schemas="" interproscan5"="" rel="nofollow">">
    <sequence md5="alksjfojfjkjhaiuy948iued">MCCXXX ...
ADD COMMENTlink modified 5.0 years ago • written 5.0 years ago by Michael Dondrup45k
gravatar for hpmcwill
5.0 years ago by
United Kingdom
hpmcwill1.1k wrote:

InterProScan 5RC7 is rather old now and uses an obsolete version of the InterPro data, so I suggest you upgrade to the current version if possible (see

You can use the conversion mode (see to reformat InterProScan 5 XML into the other InterProScan 5 formats, and the old InterProScan 4 raw format (tab-delimited text) which is used by many tools which supported InterProScan 4. Alternatively since InterProScan 5 can produce GFF3, you should be able to use modules such as Bio::Tools::GFF to parse the InterProScan 5 GFF3 output and get most of the information which available in the InterProScan 5 XML.

If you have feedback, comments, suggestions or issues for InterProScan 5 please direct them to the authors as detailed in the InterProScan documentation: This will ensure they are aware of the issue, and can prioritise any related work based on feedback from the user community.

For what it is worth... I am aware of support for InterProScan 5 output in:

So they may be useful options to investigate, depending on what you are attempting to do.

ADD COMMENTlink modified 5.0 years ago • written 5.0 years ago by hpmcwill1.1k

Thanks a lot (and sorry for raging ;)

ADD REPLYlink written 5.0 years ago by Michael Dondrup45k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1619 users visited in the last hour