bcf_hdr_t

Structured repreentation of VCF header (§1.2) Note that bcf_hdr_t structs must always be created via bcf_hdr_init()

Members

Variables

dict
void*[3] dict;

hash table

dirty
int dirty;

?

hrec
bcf_hrec_t** hrec;

Structured representation of this header line

id
bcf_idpair_t*[3] id;

ID dictionary {FILTER/INFO/FORMAT, contig, sample} ID key/entry

keep_samples
uint8_t* keep_samples;

?

m
int32_t[3] m;

m: allocated size of the dictionary block in use (see n above)

mem
kstring_t mem;

?

n
int32_t[3] n;

n:the size of the dictionary block in use, (allocated size, m, is below to preserve ABI)

nhrec
int nhrec;
of header records
nsamples_ori
int nsamples_ori;

for bcf_hdr_set_samples()

ntransl
int ntransl;

for bcf_translate()

samples
char** samples;

?list of samples

transl
int*[2] transl;

for bcf_translate()

Meta