Function rust_htslib::htslib::bcf_trim_alleles [] [src]

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

bcf_trim_alleles() - remove ALT alleles unused in genotype fields @header: for access to BCF_DT_ID dictionary @line: VCF line obtain from vcf_parse1

Returns the number of removed alleles on success or negative on error: -1 .. some allele index is out of bounds -2 .. could not remove alleles