Recapitation memory requirements #3376
Unanswered
akamolphat
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Questions:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I was planning to utilise recapitation and mutation overlay to add neutral mutations to my treesequence file from a non-neutral SLiM simulation. The non-neutral SLiM simulation was run for 1000 ticks and involved about 2 million individuals. It involved a fixed number of non-neutral mutations (120 mutations) being added at a certain frequency (30%) in the founder population. Due to previous OUT_OF_MEMORY errors during the recapitation stage, I did some subsampling and trimming (splitting one extra-large genome into chromosomes through
ts.keep_interval(),ts.rtrim()andts.ltrim()) of the treesequence file. I end up with a treesequence files of 28229 diploid individuals and the largest chromosome is about 150 Megabases in length. The largest treesequence file is about 800MB and runs out of memory even when using 500 GB RAM on a UNIX cluster. I see that people have been able to recapitate and overlay mutations on larger treesequence files using less memory (128GB memory machine, Code Sample 3 and 4 in the SimHumanity paper). Is my simulated population size too big? Are there any ways around this?I tried the same subsampling/trimming/recapitation code on a smaller treesequence file with a smaller chromosome (1000 times smaller), same number of non-neutral mutations (120), and a smaller population size (~1000 times smaller) and I was able to recapitate very quickly on my computer so I don't think the issue is with the code.
The input treesequence file is very large so I am not sure if or how I should upload it, but the code I used for the recapitation processs is as follows:
Any help would be greatly appreciated.
A (Kamolphat)
Beta Was this translation helpful? Give feedback.
All reactions