bcf_get_fmt

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.

  1. bcf_fmt_t* bcf_get_fmt(const(bcf_hdr_t)* hdr, bcf1_t* line, const(char)* key)
    extern (C)
    bcf_get_fmt
    (
    const(bcf_hdr_t)* hdr
    ,,
    const(char)* key
    )
  2. bcf_info_t* bcf_get_info(const(bcf_hdr_t)* hdr, bcf1_t* line, const(char)* key)

Meta