Skip to content
Snippets Groups Projects
Commit fb075df9 authored by van den Berg's avatar van den Berg
Browse files

Compare allele genotypes directly

Previously we used cyvcf2 gt_types, which indicate whether a site is
hom_ref, heterozygous, hom_alt or unknown. A limitation of this approach
is that it only makes sense when the two vcf files have the same REF and
ALT alleles for a given position.

If this was not the case, vtools would silently skip the variant.
However, even when the ALT alleles are different between two vcf files,
the actual genotypes can still be compared. This was implemented in this
commit, which also fixes issue #8.
parent 2fda84f6
No related branches found
No related tags found
2 merge requests!6Merge testing into master,!5Merge new testing code into devel
Pipeline #2778 failed