Function rust_htslib::htslib::bcf_get_fmt [] [src]

pub unsafe extern "C" fn bcf_get_fmt(
    hdr: *const bcf_hdr_t,
    line: *mut bcf1_t,
    key: *const c_char
) -> *mut bcf_fmt_t

bcf_get_fmt() - returns pointer to FORMAT's field data @header: for access to BCF_DT_ID dictionary @line: VCF line obtained from vcf_parse1 @fmt: one of GT,PL,...

Returns bcf_fmt_t* if the call succeeded, or returns NULL when the field is not available.