bcf_get_info_id

bcf_get_*_id() - returns pointer to FORMAT/INFO field data given the header index instead of the string ID @line: VCF line obtained from vcf_parse1 @id: The header index for the tag, obtained from bcf_hdr_id2int()

Returns bcf_fmt_t* / bcf_info_t*. These functions do not check if the index is valid as their goal is to avoid the header lookup.

  1. bcf_fmt_t* bcf_get_fmt_id(bcf1_t* line, int id)
  2. bcf_info_t* bcf_get_info_id(bcf1_t* line, int id)
    extern (C)
    bcf_get_info_id
    (,
    const int id
    )

Meta