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.
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.