Lines Matching refs:BCF_HL_FMT

268         if ( type==BCF_HL_FMT || type==BCF_HL_INFO || type==BCF_HL_FMT || type== BCF_HL_CTG )  in remove_hdr_lines()
274 if ( type==BCF_HL_FMT && !strcmp(hrec->vals[id],"GT") ) { i++; continue; } in remove_hdr_lines()
318 else if ( !strncasecmp("FORMAT/",ss,7) ) { type = BCF_HL_FMT; ss += 7; } in init_remove_annots()
319 else if ( !strncasecmp("FMT/",ss,4) ) { type = BCF_HL_FMT; ss += 4; } in init_remove_annots()
323 else if ( !strncasecmp("^FORMAT/",ss,8) ) { type = BCF_HL_FMT; ss += 8; keep_fmt = 1; } in init_remove_annots()
324 else if ( !strncasecmp("^FMT/",ss,5) ) { type = BCF_HL_FMT; ss += 5; keep_fmt = 1; } in init_remove_annots()
373 else if ( type==BCF_HL_FMT ) tag->handler = remove_format_tag; in init_remove_annots()
375 else if ( (type==BCF_HL_FMT && keep_fmt) || (type==BCF_HL_INFO && keep_info) ) in init_remove_annots()
390 else if ( type==BCF_HL_FMT ) tag->handler = remove_format_tag; in init_remove_annots()
410 if ( !args->keep_sites ) remove_hdr_lines(args->hdr_out,BCF_HL_FMT); in init_remove_annots()
416 …if ( bcf_hdr_idinfo_exists(args->hdr,BCF_HL_FMT,id) ) error("Error: did you mean FORMAT/%s?\n",str… in init_remove_annots()
437 … if ( hrec->type!=BCF_HL_FLT && hrec->type!=BCF_HL_INFO && hrec->type!=BCF_HL_FMT ) continue; in init_remove_annots()
440 if ( !keep_fmt && hrec->type==BCF_HL_FMT ) continue; in init_remove_annots()
453 else if ( hrec->type==BCF_HL_FMT ) tag->handler = remove_format_tag; in init_remove_annots()
2354 if ( hrec->type!=BCF_HL_FMT) continue; in init_columns()
2377 switch ( bcf_hdr_id2type(args->hdr_out,BCF_HL_FMT,hdr_id) ) in init_columns()
2382 …or("The type of %s not recognised (%d)\n", str.s,bcf_hdr_id2type(args->hdr_out,BCF_HL_FMT,hdr_id)); in init_columns()
2385 col->number = bcf_hdr_id2length(tgts_hdr,BCF_HL_FMT,hdr_id); in init_columns()
2404 …bcf_hrec_t *hrec = bcf_hdr_get_hrec(args->files->readers[1].header, BCF_HL_FMT, "ID", key_src, NUL… in init_columns()
2413 if ( !bcf_hdr_idinfo_exists(args->hdr_out,BCF_HL_FMT,hdr_id) ) in init_columns()
2434 switch ( bcf_hdr_id2type(args->hdr_out,BCF_HL_FMT,hdr_id) ) in init_columns()
2439 …or("The type of %s not recognised (%d)\n", str.s,bcf_hdr_id2type(args->hdr_out,BCF_HL_FMT,hdr_id)); in init_columns()
2445 col->number = bcf_hdr_id2length(tgts_hdr,BCF_HL_FMT,hdr_id); in init_columns()
2522 …plicit_src_info==0 && bcf_hdr_get_hrec(args->files->readers[1].header, BCF_HL_FMT, "ID", key_src, … in init_columns()
2705 else if ( !strncasecmp("format/",map[i],7) ) type = BCF_HL_FMT, sb = map[i] + 7; in rename_annots()
2706 else if ( !strncasecmp("fmt/",map[i],4) ) type = BCF_HL_FMT, sb = map[i] + 4; in rename_annots()