Skip to content

Commit

Permalink
fix pinellolab#377 to write info files in CRISPRessoPooled
Browse files Browse the repository at this point in the history
  • Loading branch information
kclem authored and mbowcut2 committed Mar 20, 2024
1 parent 33f7e24 commit 1c7e97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRISPResso2/CRISPRessoPooledCORE.py
Original file line number Diff line number Diff line change
Expand Up @@ -1176,8 +1176,8 @@ def rreplace(s, old, new):
break
n_reads_at_end = get_n_aligned_bam_region(bam_filename_genome, chr_str, curr_end-5, curr_end+5)

sub_chr_command = chr_cmd.replace("__REGION__", ":%d-%d "%(curr_pos, curr_end))
chr_output_filename = _jp('MAPPED_REGIONS/%s_%s_%s.info' % (chr_str, curr_pos, curr_end))
sub_chr_command = chr_cmd.replace("__REGION__", ":%d-%d "%(curr_pos, curr_end)).replace("__DEMUX_CHR_LOGFILENAME__",chr_output_filename)
chr_commands.append(sub_chr_command)
chr_output_filenames.append(chr_output_filename)
curr_pos = curr_end
Expand Down

0 comments on commit 1c7e97a

Please sign in to comment.