[Feature]: Add ability to `translate` from one haplotype to another
MillironX opened this issue · 0 comments
MillironX commented
Expected behavior
Add new function method
translate(x::Haplotype{S,T}, y::Haplotype{S,T}) where {S,T}
which will pull the alignment out of y
using #39, and then perform the regular translate
method.
Current behavior
Doesn't exist
Possible implementation
~
Context
Say you have a Haplotype
containing wild-type Variation
s aligned against a reference genome, say PRRSV1. You have another historic wild-type sample aligned against PRRSV1, and want to know how these two compare. Instead of depending on the assumptions of a new alignment, we can use the common alignment to determine the new Haplotype
Link to your project
No response