This file is indexed.

/usr/lib/python2.7/dist-packages/biotools/IO/gff.py is in python-biotools 1.2.12-2.

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
from biotools.annotation import Annotation


def read(fh):
    for line in fh:
        if line[0] != '#':
            yield Annotation(*line.split('\t'))
    raise StopIteration()


def write(fh, a):
    # TODO: improve this...
    fh.write(str(a) + '\n')


def probe(fh):
    for line in fh:
        line = line.strip()
        if line:
            bits = line.split()
            if bits[0] == '##gff-version':
                return {'type': 'gff', 'version': float(bits[1])}
            return False
    return {'type': 'gff', 'version': 3}


def whook(fh):
    fh.write('##gff-version 3\n')