Skip to content

Commit

Permalink
Allow for missing ('.') values for GQ genotype subfield
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkurowski committed Feb 16, 2024
1 parent 2ecd506 commit 4542d1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/variantsite.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ def _parse_genotype_field(self, call: str, genotype_format: List[str]):
field: value
for field, value in zip(genotype_format, call.split(':'))
}
if 'GQ' in parsed_call:
parsed_call['GQ'] = int(parsed_call['GQ'])
return parsed_call

def _parse_info(self, info: str):
Expand Down

0 comments on commit 4542d1c

Please sign in to comment.