Lines Matching refs:BCF_HL_FMT

266         if ( type==BCF_HL_FMT || type==BCF_HL_INFO || type==BCF_HL_FMT || type== BCF_HL_CTG )  in remove_hdr_lines()
272 if ( type==BCF_HL_FMT && !strcmp(hrec->vals[id],"GT") ) { i++; continue; } in remove_hdr_lines()
316 else if ( !strncasecmp("FORMAT/",ss,7) ) { type = BCF_HL_FMT; ss += 7; } in init_remove_annots()
317 else if ( !strncasecmp("FMT/",ss,4) ) { type = BCF_HL_FMT; ss += 4; } in init_remove_annots()
321 else if ( !strncasecmp("^FORMAT/",ss,8) ) { type = BCF_HL_FMT; ss += 8; keep_fmt = 1; } in init_remove_annots()
322 else if ( !strncasecmp("^FMT/",ss,5) ) { type = BCF_HL_FMT; ss += 5; keep_fmt = 1; } in init_remove_annots()
371 else if ( type==BCF_HL_FMT ) tag->handler = remove_format_tag; in init_remove_annots()
373 else if ( (type==BCF_HL_FMT && keep_fmt) || (type==BCF_HL_INFO && keep_info) ) in init_remove_annots()
388 else if ( type==BCF_HL_FMT ) tag->handler = remove_format_tag; in init_remove_annots()
408 if ( !args->keep_sites ) remove_hdr_lines(args->hdr_out,BCF_HL_FMT); in init_remove_annots()
414 …if ( bcf_hdr_idinfo_exists(args->hdr,BCF_HL_FMT,id) ) error("Error: did you mean FORMAT/%s?\n",str… in init_remove_annots()
435 … if ( hrec->type!=BCF_HL_FLT && hrec->type!=BCF_HL_INFO && hrec->type!=BCF_HL_FMT ) continue; in init_remove_annots()
438 if ( !keep_fmt && hrec->type==BCF_HL_FMT ) continue; in init_remove_annots()
451 else if ( hrec->type==BCF_HL_FMT ) tag->handler = remove_format_tag; in init_remove_annots()
2352 if ( hrec->type!=BCF_HL_FMT) continue; in init_columns()
2375 switch ( bcf_hdr_id2type(args->hdr_out,BCF_HL_FMT,hdr_id) ) in init_columns()
2380 …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()
2383 col->number = bcf_hdr_id2length(tgts_hdr,BCF_HL_FMT,hdr_id); in init_columns()
2402 …bcf_hrec_t *hrec = bcf_hdr_get_hrec(args->files->readers[1].header, BCF_HL_FMT, "ID", key_src, NUL… in init_columns()
2411 if ( !bcf_hdr_idinfo_exists(args->hdr_out,BCF_HL_FMT,hdr_id) ) in init_columns()
2432 switch ( bcf_hdr_id2type(args->hdr_out,BCF_HL_FMT,hdr_id) ) in init_columns()
2437 …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()
2443 col->number = bcf_hdr_id2length(tgts_hdr,BCF_HL_FMT,hdr_id); in init_columns()
2520 …plicit_src_info==0 && bcf_hdr_get_hrec(args->files->readers[1].header, BCF_HL_FMT, "ID", key_src, … in init_columns()
2703 else if ( !strncasecmp("format/",map[i],7) ) type = BCF_HL_FMT, sb = map[i] + 7; in rename_annots()
2704 else if ( !strncasecmp("fmt/",map[i],4) ) type = BCF_HL_FMT, sb = map[i] + 4; in rename_annots()