Improving PyRosetta Initialization #441
Replies: 2 comments 5 replies
|
I think an easy trick is not to initialize pyRosetta for each scoring. If you are scoring 10.000 structures, make 10 paralel workers that each score 1000 structures instead of 10.000 workers that each score one structure. In general I agree it would be very cool if initialization was faster, but pyRosetta has to do a lot of work, including reading from many small files. |
|
I see, if that's the case, I agree with your previous suggestion to pre-initialize workers and submit tasks to them (which would minimize the number of PyRosetta initializations that need to be performed). If that's not a viable solution based on the implementation, maybe it's easier to ask how the implementation could be restructured to use this framework? On the other hand, if the PyRosetta database is mounted over a network file system with low bandwidth, that could slow down PyRosetta initialization, since it would need to load a large database over the network. That's strange that the first initialization takes 4 times as long -- maybe the file system is caching data locally. If that's the case, maybe you can just |
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I am using PyRosetta to score some protein binders, getting info such as the neighboring residues, interface hydrogen bonds (saturated and unsaturated), dSASA and so on.
I have noticed that PyRosetta intialization employs a lot of computation time, with the first design scoring taking 4 more time than the rest, independent of the protein sizes.
I wonder if there is a way to make PyRosetta initialization more efficient.
The PyRosetta version I am using is:
pyrosetta 2025.06+release.029c6a159b py310_0 https://conda.graylab.jhu.edu
If you need more info, i would try to answer as soon as possible.
Thanks !
All reactions