def relativeSlice(seq, start, stop):
    '''get slice of this sequence object, in relative coordinates.
    This method calls getitem on the top-level sequence object
    i.e. seq.pathForward'''
    if 0 < start: # REVERSE ORIENTATION
        return -(seq[-stop: -start])
    else: # FORWARD ORIENTATION
        return seq[start: stop]
dataset/ETHPy150Open cjlee112/pygr/pygr/sequence.py/relativeSlice/swapped operands of `<`