This file is indexed.

/usr/share/perl5/GO/xsl/ipr_to_oboxml.xsl is in libgo-perl 0.15-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0">

  <xsl:strip-space elements="*"/>
  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="/">
    <obo>
      <xsl:apply-templates select="//interpro"/>
    </obo>
  </xsl:template>
  <xsl:template match="interpro">
    <term>
      <id>
        <xsl:text>InterPro:</xsl:text><xsl:value-of select="@id"/>
      </id>
      <name>
        <xsl:value-of select="name"/>
      </name>
      <!-- abstract is mixed attribute xml; need to convert. how?
           -->
       <xsl:apply-templates select="parent_list"/>
      <xsl:apply-templates select="member_list"/>
      <xsl:apply-templates select="structure_db_links"/>
      <xsl:apply-templates select="taxonomy_distribution"/>
    </term>
  </xsl:template>

  <xsl:template match="parent_list">
    <xsl:for-each select="rel_ref">
      <is_a>
        <xsl:text>InterPro:</xsl:text><xsl:value-of select="@ipr_ref"/>
      </is_a>
    </xsl:for-each>
  </xsl:template>

  <xsl:template match="member_list|structure_db_links">
    <xsl:for-each select="db_xref">
      <xref_analog>
        <acc>
          <xsl:value-of select="@dbkey"/>
        </acc>
        <dbname>
          <xsl:value-of select="@db"/>
        </dbname>
      </xref_analog>
    </xsl:for-each>
  </xsl:template>

  <xsl:template match="taxonomy_distribution">
    <xsl:for-each select="taxon_data">
      <restriction>
        <type>
          <xsl:text>ipr:can_occur_in</xsl:text>
        </type>
        <to>
          <xsl:text>taxon_name:</xsl:text><xsl:value-of select="@name"/>
        </to>
      </restriction>
    </xsl:for-each>
  </xsl:template>

</xsl:stylesheet>