Skip to content

Commit

Permalink
Update assembly_stats_mapping.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cimendes committed Sep 5, 2022
1 parent e3b9e71 commit e27a24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/assembly_stats_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e27a24a

Please sign in to comment.