Skip to content

Commit

Permalink
fix #377 to write info files in CRISPRessoPooled
Browse files Browse the repository at this point in the history
  • Loading branch information
kclem committed Mar 7, 2024
1 parent 448d244 commit de182d2
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 @@ -1173,8 +1173,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 de182d2

Please sign in to comment.