def reorder_rows(rec, new_order):
    return np.take(rec, new_order)


# Column functions
if targetbam and donorbam are aligned to different references 
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/table.py/reorder_rows--crossover with--dataset/ETHPy150Open adamewing/bamsurgeon/bamsurgeon/replacereads.py/compare_ref