def tnuc_region_in_intron(np, beg, end):
    """ region in tnuc positions """
    if beg.tpos == 0 or end.tpos == 0:
        return False
    if beg.pos == end.pos and beg.tpos * end.tpos > 0:
        return True
    if beg.pos + 1 == end.pos and beg.tpos > 0 and end.tpos < 0:
        return True
    if end.pos + 1 == beg.pos and beg.tpos < 0 and end.tpos > 0:
        return True
    return False
