bcf_update_info

bcf_update_info_*() - functions for updating INFO fields @hdr: the BCF header @line: VCF line to be edited @key: the INFO tag to be updated @values: pointer to the array of values. Pass NULL to remove the tag. @n: number of values in the array. When set to 0, the INFO tag is removed

The @string in bcf_update_info_flag() is optional, @n indicates whether the flag is set or removed.

Returns 0 on success or negative value on error.

extern (C)
int
bcf_update_info
(
const(bcf_hdr_t)* hdr
,,
const(char)* key
,
const(void)* values
,
int n
,
int type
)

Meta