magicDGS / thaplv

Tools for Haploid/Haplotype VCFs
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Reference methods for distance pairs should be changed #16

Open magicDGS opened 8 years ago

magicDGS commented 8 years ago

addReference() is a convenient method for create a fast way of comparing a Genotype with the reference, but an enhancement is remove this and create a "fake" genotype for the reference in tools that requires this comparison.

Like that we will suport imput a different reference, and we can name the reference in a different way and check if the pair is really a reference one. This also remove some unnecessary code complexity.