You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 memmap. If you could share the code you used that might be useful to see where something like that could be implemented. using float32 for the array is another option
I think it might be the long sequence caused the memory overflow.
By the way, some packages can't be imported because the version of my scipy is 1.10. I tried existing version of scipy and it still can't work. So I changed the code in space.py and other scripts like 'from scipy.sparse import csr_matrix'. I'm not sure if this will lead to bug.
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: