Skip to content

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

@adaykin

Description

@adaykin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions