bcf_get_info_*() - get INFO values, integers or floats
@param hdr: BCF header
@param line: BCF record
@param tag: INFO tag to retrieve
@param dst: *dst is pointer to a memory location, can point to NULL
@param ndst: pointer to the size of allocated memory
@return >=0 on success
-1 .. no such INFO tag defined in the header
-2 .. clash between types defined in the header and encountered in the VCF record
-3 .. tag is not present in the VCF record
-4 .. the operation could not be completed (e.g. out of memory)
Returns negative value on error or the number of values (including
missing values) put in *dst on success. bcf_get_info_string() returns
on success the number of characters stored excluding the nul-
terminating byte. bcf_get_info_flag() does not store anything in *dst
but returns 1 if the flag is set or 0 if not.
*dst will be reallocated if it is not big enough (i.e. *ndst is too
small) or NULL on entry. The new size will be stored in *ndst.
bcf_get_info_*() - get INFO values, integers or floats @param hdr: BCF header @param line: BCF record @param tag: INFO tag to retrieve @param dst: *dst is pointer to a memory location, can point to NULL @param ndst: pointer to the size of allocated memory @return >=0 on success -1 .. no such INFO tag defined in the header -2 .. clash between types defined in the header and encountered in the VCF record -3 .. tag is not present in the VCF record -4 .. the operation could not be completed (e.g. out of memory)
Returns negative value on error or the number of values (including missing values) put in *dst on success. bcf_get_info_string() returns on success the number of characters stored excluding the nul- terminating byte. bcf_get_info_flag() does not store anything in *dst but returns 1 if the flag is set or 0 if not.
*dst will be reallocated if it is not big enough (i.e. *ndst is too small) or NULL on entry. The new size will be stored in *ndst.