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

plot_popkin OOM for larger kinship matrices #7

Open
mkelcb opened this issue Apr 22, 2024 · 0 comments
Open

plot_popkin OOM for larger kinship matrices #7

mkelcb opened this issue Apr 22, 2024 · 0 comments

Comments

@mkelcb
Copy link

mkelcb commented Apr 22, 2024

The plot_popkin function generates OOM when the number of individuals in the Kinship matrix is large. I was able to generate a plot with a RAM of 250GBs with an n=12000, but for larger matrices (eg 30-70K) this generated an OOM error.

Maybe using some form of chunking (like you do for the main kinship matrix calculation) you could get around this issue. (My workaround atm is that I simply to randomly downsample my Kinship matrix to 12K before plotting it.)

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

No branches or pull requests

1 participant