This file is indexed.

/usr/share/perl5/GO/Handlers/tbl.pm 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
66
67
68
69
70
71
72
# $Id: tbl.pm,v 1.3 2004/11/24 02:28:00 cmungall Exp $
#
# This GO module is maintained by Chris Mungall <cjm@fruitfly.org>
#
# see also - http://www.geneontology.org
#          - http://www.godatabase.org/dev
#
# You may distribute this module under the same terms as perl itself

=head1 NAME

  GO::Handlers::tbl - TBL handler 

=head1 SYNOPSIS

  use GO::Handlers::tbl

=cut

=head1 DESCRIPTION

=head1 PUBLIC METHODS - 

=cut

# makes objects from parser events

package GO::Handlers::tbl;
use base qw(GO::Handlers::base);
use strict;


sub e_term {
    my $self = shift;
    my $t = shift;
    my $def = $t->get_def;
    my $defstr = '';
    if ($def) {
	$defstr = $def->get_defstr;
    }
    my @syns = $t->get_synonym;
    my @synstrs = map {$_->get_synonym_text} @syns;
    my @cols =
      ($t->get_id,
       $t->get_name,
       $defstr,
       join('; ', @synstrs));
    $self->print(join("\t", @cols));
    $self->print("\n");
    return;
}

sub e_prod {
    my $self = shift;
    my $p = shift;
    my $proddb = $self->up(1)->sget_proddb;
    my @cols =
      ($proddb,
       $p->get_prodacc,
       $p->get_prodsymbol,
       $p->get_prodtype,
       $p->get_prodtaxa,
       join('; ', map { ($_->get_is_not ? "NOT:" : "").$_->get_termacc  } $p->get_assoc),
      );
    $self->print(join("\t", @cols));
    $self->print("\n");
    return;

}


1;