

def get_interval(seq, start, end, ori):
    'trivial function to get the interval seq[start:end] with requested ori'
    if (ori < 0):
        return seq.absolute_slice((- seq), (- start))
    else:
        return seq.absolute_slice(start, end)

dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py get_interval/VarMisuse@34/67 `end`->`seq`