From ef6461e2cb037a8f0db70afb797532f831b1ce37 Mon Sep 17 00:00:00 2001 From: nelnk861 Date: Thu, 22 Feb 2024 10:05:12 +0100 Subject: [PATCH] DEVELOP:732:Use closest read length when fetching QC thresholds --- bin/get_qc_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/get_qc_config.py b/bin/get_qc_config.py index 95c6591..e3e5856 100755 --- a/bin/get_qc_config.py +++ b/bin/get_qc_config.py @@ -99,7 +99,8 @@ def convert_to_dict(checkqc_config): both_read_lengths = run_type_recognizer.read_length() read_length = int(both_read_lengths.split("-")[0]) checkqc_config = config.get_handler_configs( - instrument_and_reagent_version, read_length + instrument_and_reagent_version, read_length, + use_closest_read_length=True ) checkqc_config_dict = convert_to_dict(checkqc_config) multiqc_config = convert_to_multiqc_config(checkqc_config_dict)