Skip to content

Persistent Warning Regarding INFO/IMPORT_FAIL in VCF Header #192

@Iredcg

Description

@Iredcg

Hello,

I’ve been using hap.py to benchmark two VCF files, but I keep encountering the following warning:
[W::bcf_hdr_register_hrec] The definition of Flag "INFO/IMPORT_FAIL" is invalid, forcing Number=0

I’ve tried modifying the VCF header to ensure the IMPORT_FAIL field is defined correctly as Number=0 and Type=Flag. Despite this, the warning persists. I’ve also attempted to compare two VCF files, ensuring their headers are consistent, but I’m still seeing this issue.

Could you please provide guidance on how hap.py handles the IMPORT_FAIL flag, or any further suggestions to resolve this issue?

Thank you for your assistance.

Best regards,
Irene

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