Dear all,

I would like to calculate pairwise non-bonded interaction energies between amino acid residues in a protein over the length of MD simulation trajectories produced by the NAMD 2.9 software using the CHARMM 27 force-field.

Currently I use the namdenergy.tcl script for this purpose. I apply a minimum distance cutoff between alpha carbon positions to reduce the number of combinations as well as a stride for frames to be read. I have also written a Python program which divides the list of combinations into chunks (to take advantage of the multiple processors) and calls vmd (and subsequently the namdenergy) using an another external tcl script in parallel processes via the python multiprocessing module.

I want to include as many frames as possible in my calculation to avoid missing possibly interesting changes in the interaction energies since I also calculate the correlations between them in a later analysis step. However, when I reduce the stride value, the time required to finish the computation increases rather exponentially. 

Namdenergy creates a temporary DCD file prior to each calculation. Also, if I move the files to a solid-state drive and run the calculation there, it speeds up by a factor of two, leading me to think that the computation is I/O bound.

So is there a more efficient/faster way to do this kind of computation (e.g. another computational tool) or is this just a speed limit that I have to live with?

More Onur Sercinoglu's questions See All
Similar questions and discussions