-
Notifications
You must be signed in to change notification settings - Fork 4
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
RuntimeError: append_alleles_batch #267
Comments
Hi @cindywen96, First, thank you so much for reporting this issue! A few thoughts: Regarding your issue about memory:Internally, haptools must store a genotype matrix (numpy array) of size
Regarding your issue with
|
Thank you so much for your prompt reply. It's very helpful. I was using 0.4.2. I'm now updated to 0.5.0 and added
|
Ah! I'm sorry about that. Hmm... Can you help me replicate the error? Can you share your model file and the version of the 1000 Genomes reference that you're using? Also, can you share the command that you're running? |
Sure, here is the command. 1KG ref is a subset of variants on chr1, hg38
And here is test data |
Can you also share the pvar and psam files that correspond with the pgen file? Those are also used by haptools whenever a pgen file is provided to it. |
Hi I'm using simgenotype to generate N=10k admix samples from 1KG reference. The breakpoint simulation completes immediately but writing the
admix.pgen
file takes lots of memory and I keep getting the following error. Also it seems the number of written variants change with the number of reference variants. Could you advise on how much memory it takes and is there any limit in number of variantspgen.append_alleles_batch
could handle? Thank you!The text was updated successfully, but these errors were encountered: