bcf_hdr_int2id

bcf_hdr_id2int() - Translates string into numeric ID bcf_hdr_int2id() - Translates numeric ID into string @type: one of BCF_DT_ID, BCF_DT_CTG, BCF_DT_SAMPLE @id: tag name, such as: PL, DP, GT, etc.

Returns -1 if string is not in dictionary, otherwise numeric ID which identifies fields in BCF records.

extern (C) pragma(inline, true)
bcf_hdr_int2id
(
const(bcf_hdr_t)* hdr
,
int type
,
int int_id
)

Meta