Ahh thank you!
I thought the xmx parameter would be passed to the downstream commands called by the plugin. Then I think I definitely need to limit Singularity, since I can't take up all the memory on this machiene.
With the thread number, as GenoMax pointed out minimap uses 126 threads. This is 2 less than my machine has, so that would fit well with the Documentation saying:
The number of threads that will be used to impute individual paths is numThreads - 2 because 2 threads are reserved for other operations.
However in the config file I set it to numThreads=70, so could there be something going wrong or something I didn't set that prevents this parameter to be passed to minimap?
That update does sound very enticing! Since I need to do this for a lot more samples and the previous test I started ran for over a week before crashing due to memory (since someone else was also using it heavily), so increasing the speed while reducing memory requirements sounds fantastic.
I apologise, this is probably unfair to ask since these things simply take their time, but is there a rough idea when that next update would be published?
Based on the program name
run_pipeline.plthis appears to be a perl script. Option you are referring to is forJava. Is that perl script calling some java code? Otherwise including that option does nothing for the perl code unless it is required forsingularity(not a user myself).Does the amount of memory keep increasing, or does it start high and remain stable? Do you have a log file you can post? That may give us information on what is allocated by/for Singularity vs what is allocated for the PHG java code.
When it started it relatively quickly went up to 200GB, then steadily increased to now 327GB. So yes, it still seems to be increasing.
Do you mean the console output? It has already started minimap2, so that might be what is using so much memory?
(Apologies, the output is very long, but it just continues increasing the number of Processed alignments. Up to 1946000000 so far.)
Can you trim some of the log output on GitHub gist? We get the idea of what is happening.
minimapis using-t 126(126 threads) so that may also have something to do with memory usage.Done. Many apologies!
And thank you for checking.
Yes, there seems to be something up with that