Skip to content

Commit

Permalink
remove redundant lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jethror1 committed Sep 23, 2024
1 parent 0078be5 commit d4366d2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/vcf_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,13 @@ def get_het_hom_counts(vcf) -> dict:

variant_count = autosome_count = x_variant_count = 0

gts = []

for record in vcf_handle.fetch():
sample_fields = record.samples[sample]

printable_var = (
f"{record.chrom}-{record.pos}-{record.ref}-{','.join(record.alts)}"
)

gts.append(sample_fields["GT"])

missing_fields = [
x for x in ["AD", "DP", "GT"] if not x in sample_fields
]
Expand Down

0 comments on commit d4366d2

Please sign in to comment.