Conversation
This fixes memory issues by computing on the go the gpAB array (instead of storing it, which can be enormous in size if too many snps/samples)
|
Dear @VincentGardeux, Thank you for such needed modification. Thank you, |
|
Hi Vincent, I managed to solve it. I just needed to set the following flags: Could you please let me know if this is a potential problem you've identified and how to solve it? Thank you, |
|
Hey @cramirezs I think any install issue you may encounter would be the same than when installing the base demuxlet? I did not change much code so it should be exactly the same procedure. In your install, it says "recompile with -fPIC" maybe that would be the solution? Cheers |
This fixes memory issues when there are too many snps or samples to compute.
The error comes from the gpAB array which can be enormous in size if too many snps/samples (billions of values)
Here in the fix, I don't create these arrays at all, and instead compute the values on the go (since they are used only once anyways.
In our tests, it generates exactly the same results on small datasets, but can be run on millions of snps/hundreds of samples.
We did not see any major change in the computing time either.
Cheers