You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know if it is possible to modify the header of a vcf.
Functions "add_info_to_header" and "update" allow to add a new INFO line to the VCF header but I didn't find a way to modify an existing one.
For example, I would like to change the type of my custom info field from string to character.
{u'HeaderType': u'INFO', u'Description': u'"Custom field"', u'Type': u'String', u'Number': u'1', u'ID': u'CUST'}
Thanks
The text was updated successfully, but these errors were encountered:
Hi, that's currently not supported.
I think the way to do it is to remove the old header, then add a new one. But, remove is not implemented. I'd accept a PR that exposed bcf_hdr_remove.
Hello,
I would like to know if it is possible to modify the header of a vcf.
Functions "add_info_to_header" and "update" allow to add a new INFO line to the VCF header but I didn't find a way to modify an existing one.
For example, I would like to change the type of my custom info field from string to character.
{u'HeaderType': u'INFO', u'Description': u'"Custom field"', u'Type': u'String', u'Number': u'1', u'ID': u'CUST'}
Thanks
The text was updated successfully, but these errors were encountered: