stxmjh / interproscan

Automatically exported from code.google.com/p/interproscan
0 stars 0 forks source link

Convert mode fails #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
*Which version of InterProScan 5?*
5RC7

*How to reproduce?*
Run InterProScan 5RC7 in convert mode fails on some XML files created with 
version 5RC7.

*Command:*
interproscan.sh -mode convert -f gff3 -i inputFile-5RC6.xml -b 
outputFile-5RC6.gff3

Original issue reported on code.google.com by Maxim.Sc...@gmail.com on 14 Aug 2013 at 8:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The convert mode 
(https://code.google.com/p/interproscan/wiki/InterProScan5ConvertMode) is 
designed to work only for XML documents created with 
the same version. This makes sure we can introduce new schema updates in 
the future. However the XML schema is stable and will only change, if we 
need to add new features for instance.

From InterProScan RC7 on we introduce a new XML schema target 
namespace. That is the reason why InterProScan 5 RC7 fails to convert 
older XML documents. Here we describe a simple work around.

Workaround:
If you change the namespace URI in your input XML document from

<protein-matches xmlns="http://www.ebi.ac.uk/schema/interpro">

to

<protein-matches 
xmlns="http://www.ebi.ac.uk/interpro/resources/schemas/interproscan5">

the convert mode should work again.

Original comment by Maxim.Sc...@gmail.com on 15 Aug 2013 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by Maxim.Sc...@gmail.com on 15 Aug 2013 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by Maxim.Sc...@gmail.com on 15 Aug 2013 at 11:10