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
See Implementation
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