Function rust_htslib::htslib::bcf_remove_allele_set [] [src]

pub unsafe extern "C" fn bcf_remove_allele_set(
    header: *const bcf_hdr_t,
    line: *mut bcf1_t,
    rm_set: *const kbitset_t
) -> c_int

bcf_remove_allele_set() - remove ALT alleles according to bitset @rm_set @header: for access to BCF_DT_ID dictionary @line: VCF line obtained from vcf_parse1 @rm_set: pointer to kbitset_t object with bits set for allele indexes to remove

Returns 0 on success or -1 on failure

Number=A,R,G INFO and FORMAT fields will be updated accordingly.