Skip to content

VCF-Zarr spec does not support partial phasing following the VCF 4.4 spec #24

Open
@timothymillar

Description

@timothymillar

The VCF 4.4 spec allows for an initial symbol indicating the phasing of the first allele. For example, /0/1 is a valid genotype. This allows for partially phased diploid genotypes such as |0/1. The current VCF-Zarr spec encodes phasing using a single bool which implicitly assumes either no phasing or complete phasing.

This may have also be an issue in earlier versions of the VCF spec where a partially phased polyploid could have been encoded (e.g., 0/1|1/2). However, this isn't explicitly allowed in the 4.3 spec AFAICT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions