From 1c7e97a9e5024dfc81e55255939a3ae81e1d0425 Mon Sep 17 00:00:00 2001 From: Kendell Clement Date: Thu, 7 Mar 2024 15:04:12 -0700 Subject: [PATCH] fix #377 to write info files in CRISPRessoPooled --- CRISPResso2/CRISPRessoPooledCORE.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRISPResso2/CRISPRessoPooledCORE.py b/CRISPResso2/CRISPRessoPooledCORE.py index d1c9fc4c..8facc76f 100644 --- a/CRISPResso2/CRISPRessoPooledCORE.py +++ b/CRISPResso2/CRISPRessoPooledCORE.py @@ -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