hap.py
hap.py copied to clipboard
Persistent Warning Regarding INFO/IMPORT_FAIL in VCF Header
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