Ensembl / ensembl-vep

The Ensembl Variant Effect Predictor predicts the functional effects of genomic variants
https://www.ensembl.org/vep
Apache License 2.0
437 stars 150 forks source link

Fix option individual_zyg #1709

Closed dglemos closed 9 hours ago

dglemos commented 5 days ago

Issue reported here: https://github.com/Ensembl/ensembl-vep/issues/1703

The option individual_zyg uses the following variables:

However, these variables are used in other parts of the code as: vf->{hom_ref} = 1 $vf->{non_variant} = 1

The solution is to rename the variables.

Testing Input:

CHROM POS ID REF ALT QUAL FILTER INFO FORMAT ind

chr1 115258730 . C . . . . GT 0/0

dglemos commented 9 hours ago

Fixed. Thanks, @nakib103!