Closed ghuls closed 5 months ago
I can confirm that this is a problem, the code was written with SNPs vs anything else in mind. This needs to be improved / fixed.
Thank you for the report. This has been improved, somewhat, with the new behavior and caveats described in the commit message of https://github.com/samtools/bcftools/commit/7a4f8010662003962e49280018f59ebaa87beb3a
bcftools norm --multiallelics -indels
andbcftools norm --multiallelics +indels
do not normalize indels even if all multiallelic sites are indels. with-snp
and+snp
it works for snps (altough if you have a snp and multiallelic indels, both snp and each indel gets a new entry like they would with-both
).test_norm.vcf.txt