Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The MISSING_GENOTYPE_VALUE value of -1 can conflict with genotype values that are in a VCF (scalar vs. list) #703

Open
adaykin opened this issue Oct 12, 2021 · 0 comments

Comments

@adaykin
Copy link

adaykin commented Oct 12, 2021

When running a bq_to_vcf command on data that has list values for genotype, e.g. [-1, -1] the densify_variants._densify_variants method will create a VariantCall object that defaults to using the MISSING_GENOTYPE_VALUE, which is set to -1. In vcf_parser.VariantCall.lt the genotypes are compared, so comparing a scalar value to a list value results in an exception being thrown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant