Skip to content

Commit

Permalink
Fix d3 sgRNA sequences (#76)
Browse files Browse the repository at this point in the history
* Pass correct sgRNA_sequences to d3 plot

* Pass correct sgRNA sequence to prime editor plot for d3
  • Loading branch information
Colelyman authored May 11, 2024
1 parent fa5a18d commit 308fd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRISPResso2/CRISPRessoCORE.py
Original file line number Diff line number Diff line change
Expand Up @@ -3834,7 +3834,7 @@ def count_alternate_alleles(sub_base_vectors, ref_name, ref_sequence, ref_total_
'sgRNA_intervals': new_sgRNA_intervals,
'sgRNA_names': sgRNA_names,
'sgRNA_mismatches': sgRNA_mismatches,
'sgRNA_sequences': [sgRNA],
'sgRNA_sequences': sgRNA_sequences,
'quantification_window_idxs': new_include_idx,
'custom_colors': custom_config["colors"],
}
Expand Down Expand Up @@ -4867,7 +4867,7 @@ def get_scaffold_len(row, scaffold_start_loc, scaffold_seq):
'sgRNA_intervals': new_sgRNA_intervals,
'sgRNA_names': sgRNA_names,
'sgRNA_mismatches': sgRNA_mismatches,
'sgRNA_sequences': [sgRNA],
'sgRNA_sequences': sgRNA_sequences,
'quantification_window_idxs': new_include_idx,
'custom_colors': custom_config['colors']
}
Expand Down

0 comments on commit 308fd0f

Please sign in to comment.