Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add ability to translate from one haplotype to another #40

Open
MillironX opened this issue Mar 29, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@MillironX
Copy link
Member

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 Variations 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

@MillironX MillironX added the enhancement New feature or request label Mar 29, 2023
@MillironX MillironX self-assigned this Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant