-
Notifications
You must be signed in to change notification settings - Fork 8
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
Is it suitable for whole gene? #37
Comments
A simple way to get around that would be to use a system with more RAM, since it looks like the program tried to save the whole array into memory and it ran out of space. Another option would be to store the array on disk instead of memory using numpy's |
Hello Morales, import pandas as pd import gpmap.src.plot as plot from gpmap.src.inference import VCregression data=pd.read_csv('test_data.csv',sep=',',header=0) I think it might be the long sequence caused the memory overflow. Best, |
I wonder if it's suitable for full sequence?
When I test the test_data and change it to amino acid genotypes, it works well. However, when I elongate the test sequence to 242 aa, it can't work.
And I got error at the step of SequenceSpace():
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 14.2 GiB for an array with shape (1912602624,) and data type float64
I hope to use it to analyse random mutantions on a 239 amino acids long gene.
The text was updated successfully, but these errors were encountered: