def isHalfIdentical( self, other, max_slippage = 0 ):
        return (self.contig == other.contig and \
                    self.strand == other.strand and \
                    ( abs(self.end - other.end) < max_slippage or \
                          abs(self.start - other.start < max_slippage) ) )
returns true, if self and other overlap.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/GFF.py/Entry.isHalfIdentical