Skip to content

Commit

Permalink
Changed name from index to index_region in some methods
Browse files Browse the repository at this point in the history
  • Loading branch information
alneberg committed Feb 13, 2024
1 parent 92852df commit e273ca6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions anglerfish/explore/explore.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ def run_explore(

# Alignment thresholds
before_thres = round(
adaptor_end.len_before_index() * good_hit_threshold
adaptor_end.len_before_index_region() * good_hit_threshold
)
after_thres = round(
adaptor_end.len_after_index_region() * good_hit_threshold
)
after_thres = round(adaptor_end.len_after_index() * good_hit_threshold)
insert_thres_low = insert_thres_low
insert_thres_high = insert_thres_high

Expand All @@ -133,7 +135,10 @@ def run_explore(
] = match_col_df

thres = round(
(adaptor_end.len_before_index() + adaptor_end.len_after_index())
(
adaptor_end.len_before_index_region()
+ adaptor_end.len_after_index_region()
)
* good_hit_threshold
)
df_good_hits = df_good_hits[df_good_hits["match_1_len"] >= thres]
Expand Down

0 comments on commit e273ca6

Please sign in to comment.