Skip to content

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

@MillironX

Description

@MillironX

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions