def Identity(entry1, entry2, max_slippage=0):

    return (entry1.contig == entry2.contig and
            entry1.strand == entry2.strand and
            abs(entry1.end - entry2.end) < max_slippage and
            abs(entry1.start - entry2.start < max_slippage))
Make a subview of a parent view for a given subscript key.
dataset/ETHPy150Open CGATOxford/cgat/CGAT/GTF.py/Identity--crossover with--dataset/ETHPy150Open beetbox/beets/beets/util/confit.py/Subview.__init__