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.
intbcf_hdr_id2int(const(bcf_hdr_t)* hdr, int type, const(char)* id)
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.