Re: AMBER: extracting energy from trajector?

From: David Smith <>
Date: 24 Nov 2004 20:29:34 +0100

Hi Murat,

> I need to extract the energy values of my system from my trajectory file created
> by sander. I have lost my mdout file so, I will either re-run the simulation
> (but i do not have time for it) or find a way to get these energy data from my
> crd file.

Another possibility is with the MMTSB toolkit

It is quite easy to install and quite nice to use. Apart from possibly
solving your current problem, you may find it quite useful for lots of
things. Depending on how sophisticated your md run was you may get away
with something like the following:

1) convert your trajectory to pdbs with ptraj
2) make an ensemble directory from them: -dir DIR NAME NAME.pdb.*

(where DIR and NAME are chosen by you)

3) recursively calculate the energy over the set e.g.:

cd DIR -set etot NAME -par

(the last command should be all on one line and should be adjusted [if
possible] to suit your run, the web documentation is pretty good)

and then you can get the energies by: -prop etot NAME

Anyway, it may seem a bit complicated but I have found it a very helpful
toolset for lots of things.

Good luck.

Dr. David Smith
Division of Organic Chemistry and Biochemistry
Rudjer Boskovic Institute
Bijenicka 54
10002 Zagreb, Croatia
tel: +385-1-4561252
fax: +385-1-4561118
The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Wed Nov 24 2004 - 19:53:00 PST
Custom Search