From e27a24aff1b6a97f921ca0b322e6a50a20823e8f Mon Sep 17 00:00:00 2001 From: cimendes Date: Mon, 5 Sep 2022 18:12:16 +0100 Subject: [PATCH] Update assembly_stats_mapping.py --- templates/assembly_stats_mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/assembly_stats_mapping.py b/templates/assembly_stats_mapping.py index 8ea48e7..4c1ac0d 100644 --- a/templates/assembly_stats_mapping.py +++ b/templates/assembly_stats_mapping.py @@ -148,7 +148,7 @@ def get_identity(n_identity): identity = (sum(n_identity)/len(n_identity) ) if len(n_identity) > 0 else 0 lowest_identity = min(n_identity) if len(n_identity) > 0 else 0 - return identity, lowest_identity + return identity, abs(lowest_identity) def get_phred_quality_score(identity):