def _fix_score_column(cov_file):
new_cov = utils.splitext_plus(cov_file)[<NUM_LIT:0>] + '<STR_LIT>'<EOL>with open(cov_file) as in_handle:<EOL><INDENT>with open(new_cov, '<STR_LIT:w>') as out_handle:<EOL><INDENT>for line in in_handle:<EOL><INDENT>cols = line.strip().split("<STR_LIT:\t>")<EOL>cols[<NUM_LIT:4>] = cols[<NUM_LIT:6>]<EOL>print("<STR_LIT:\t>".join(cols[<NUM_LIT:0>:<NUM_LIT:6>]), file=out_handle, end="<STR_LIT>")<EOL><DEDENT><DEDENT><DEDENT>return new_cov<EOL>
Move counts to score columns in bed file