code: def _reorder_columns(bed_file):
      
      new_bed = utils.splitext_plus(bed_file)[0] + '_order.bed'
      with open(bed_file) as in_handle:
          with open(new_bed, 'w') as out_handle:
              for line in in_handle:
                  cols = line.strip().split("\t")
                  cols[3] = _select_anno(cols[3]) + "_" + cols[4]
                  cols[4] = "0"
                  print("\t".join(cols), file=out_handle, end="")
      return new_bed
docs: Reorder columns to be compatible with CoRaL