Skip to content

VCF annotator should emit . for missing values in string-typed INFO fields #610

@theferrit32

Description

@theferrit32

Labeling as a bug though it's not 100% clear that it is. pysam converts numeric types to the missing value . but not for string types. The VCF spec seems to suggest that is incorrect and . should be used. I removed the old manual mapping of None values to . because I assumed pysam would do it automatically for all the fields.

e.g. examples of INFO fields which may be written to output VCF files using the current VCF annotator in 2.2.0:

VRS_States=,AT
VRS_Lengths=1,.

This should be:

VRS_States=.,AT
VRS_Lengths=1,.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions