Skip to content

Commit

Permalink
output editing rate also for uniform mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jykr committed Aug 14, 2024
1 parent 8b3d7bc commit cd294b6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions bean/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,12 @@ def main(args, return_data=False):
# Build variant dataframe
adj_negctrl_idx = None
if args.library_design == "variant":
if not args.uniform_edit:
if "edit_rate" not in ndata.screen.guides.columns:
ndata.screen.get_edit_from_allele()
ndata.screen.get_edit_mat_from_uns(rel_pos_is_reporter=True)
ndata.screen.get_guide_edit_rate(
unsorted_condition_label=args.control_condition
)
if "edit_rate" not in ndata.screen.guides.columns:
ndata.screen.get_edit_from_allele()
ndata.screen.get_edit_mat_from_uns(rel_pos_is_reporter=True)
ndata.screen.get_guide_edit_rate(
unsorted_condition_label=args.control_condition
)
target_info_df = _get_guide_target_info(
ndata.screen, args, cols_include=[args.negctrl_col]
)
Expand Down

0 comments on commit cd294b6

Please sign in to comment.