Commit c4effa6d authored by Puriney's avatar Puriney
Browse files

💊 fix corner case where alignment has no aQual score

parent c26b7880
......@@ -63,7 +63,7 @@ def count_umi(sam_fpath, features, stranded='yes',
except KeyError:
if aln.aQual < accept_aln_qual_min:
if not aln.aQual or aln.aQual < accept_aln_qual_min:
aln_cnt["_low_map_qual"] += 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment