From 87192b661f3a4765c98669480c84c08b31bdd7fd Mon Sep 17 00:00:00 2001 From: Johannes Alneberg Date: Fri, 2 Feb 2024 11:01:20 +0100 Subject: [PATCH] Remove the logging of inclusion criteria --- anglerfish/explore/explore.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/anglerfish/explore/explore.py b/anglerfish/explore/explore.py index f9208da..432db65 100644 --- a/anglerfish/explore/explore.py +++ b/anglerfish/explore/explore.py @@ -112,9 +112,7 @@ def run_explore( after_thres = round(adaptor_end.len_after_index() * good_hit_threshold) insert_thres_low = insert_thres_low insert_thres_high = insert_thres_high - log.info( - f"Requiring at least {before_thres} and {after_thres} matches before and after index region respectively for {adaptor_end_name}" - ) + requirements = ( (df_mim["adapter"] == f"{adaptor.name}_{adaptor_end_name}") & (df_mim["match_1_len"] >= (before_thres))