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

disable outgroup computation for pangenomes #1441

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

glennhickey
Copy link
Collaborator

It seems that compute_outgroups() uses quadratic memory in the size of the tree, I guess for a big distance matrix. This has never been an issue for progressive cactus, but as I'm testing making pangenomes with tons of small inputs it's now a bottleneck.

This PR just disables outgroup computation for pangenomes (they aren't used at all anyway). But at some point it'd be good to revise things so that outgroup computation can work without the full matrix in memory...

Note, this means #1043 will need updating to add more nuanced control / a better fix.

@glennhickey glennhickey merged commit 2e30471 into master Jul 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant