How to exclude set of atoms from calculation of RMSD

489 views
Skip to first unread message

Marc

unread,
Jul 15, 2015, 11:47:13 AM7/15/15
to plumed...@googlegroups.com
Hi, 

I want to calculate the RMSD of my protein (for a TMD) but not for the whole protein. I need to exclude a small stretch of the protein in my RMSD calculation, but I could not find anything in the documentation how to do this. 

Is this possible at all, or does Plumed only support RMSD calculations of the whole protein?

-Marc

davide branduardi

unread,
Jul 15, 2015, 12:01:36 PM7/15/15
to plumed...@googlegroups.com
Hi Marc,

in the reference pdb just put the atoms you need.
So, if I have the pdb of the target (full system, same number of atoms that you have in the MD) I grep out CA and redirect to a pdb
for example:

grep CA my_target_pdb_with_all_atoms.pdb >target.pdb

and then I make sure that the last two fields of beta and occupancy contain 1.00  1.00 (this means that you will use the atoms to align and measure the rmsd. In plumed you can separate the two sets).

and your line in plumed will be 
RMSD REFERENCE=target.pdb TYPE=OPTIMAL

Note that dumping out the atoms from a vmd selection will not work since VMD is renumbering the atoms while plumed takes the index of the atom to match the target coordinates with the right atom in the MD system.
Cheers

D

hoe...@gmail.com

unread,
Jul 15, 2015, 12:03:06 PM7/15/15
to plumed...@googlegroups.com
Great that'll do the trick. 

Thank you!
-Marc
Reply all
Reply to author
Forward
0 new messages