Fig. 1: Illustration of the locus genotyping approach.
From: Locityper enables targeted genotyping of complex polymorphic genes

a, Reference panel of four locus haplotypes (A–D). b, WGS reads, recruited to any of the haplotypes. For illustrative purposes, haplotypes and reads are colored using homologous blocks (information, unavailable to Locityper). c, Optimal assignments of reads to various genotypes, where the small red squares show read alignment mismatches or indels. Genotype A,B has the highest joint likelihood because of a small number of alignment errors and no lack or excess of read depth.