Skip to content
Snippets Groups Projects
Commit 7be3d1fe authored by Sander Bollen's avatar Sander Bollen
Browse files

fix wrong size estimation for gq qualities.

parent 9de1db12
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -50,7 +50,7 @@ def gq_for_gvcf_record(record: cyvcf2.Variant, maxlen: int = 15000) -> List[int]
"""
start = record.start
end = record.end
size = end - end
size = end - start
gq = record.gt_quals[0]
if size < maxlen:
return [gq]*(end-start)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment