Skip to content

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

2 participants