From: Luis Gracia (
Date: Thu Apr 14 2005 - 12:18:00 CDT

Hi Michel,

Here are a couple of procs that calculate the distance between two
selections, i.e. CA-CA, and count the number of hits below a threshold.
The data is output in a matrix form. conseg1 is for distances within one
molecule (or trajectory), conseg2 for distances between two molecules
(or trajs).


PS: the basics.tcl contains some routines needed by contacts.vmd

Luis Gracia, PhD
Department of Physiology & Biophysics
Weill Medical College of Cornell University
1300 York Avenue, Box 75
New York, NY 10021
Tel: (212) 746-6375
Fax: (212) 746-8690
Michel Espinoza-Fonseca said the following on 04/13/05 19:31:
> Hi all,
> I have a very tiny question. Does anybody know how to calculate the
> CA-CA distances between two different residues on a trajectory? Im
> trying to figure out how to do it, but I dont find the way All
> comments are welcome!
> Peace,
> Michel