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

Add mutations after adding new individuals to a tree sequence #144

Open
szhan opened this issue Jun 27, 2023 · 1 comment
Open

Add mutations after adding new individuals to a tree sequence #144

szhan opened this issue Jun 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@szhan
Copy link
Owner

szhan commented Jun 27, 2023

The function add_individuals_to_tree_sequence only adds new edges to an existing tree sequence but not new mutations. A separate function needs to be implemented to add new mutations that occur above newly added sample nodes of the individuals.

@szhan szhan added the enhancement New feature or request label Jun 27, 2023
@szhan
Copy link
Owner Author

szhan commented Jun 27, 2023

It should be as simple as getting the inherited state of the parent node and checking whether it is identical to the observed state of the sample at each site.

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