Re: [PyMOL] Alpha carbon pairwise distances

2013-08-21 Thread Thomas Holder
Hi Alicia, the DistancesRH script seems to do a lot of specific stuff beyond simple distance matrix calculation. If you have scipy installed, this will give you a distance matrix: from pymol import cmd from scipy.spatial.distance import cdist coords = cmd.get_model('guide').get_coord_list() dista

[PyMOL] Alpha carbon pairwise distances

2013-08-20 Thread Hersey, Alicia
Hi all, I am trying to make a data matrix of pairwise distances between all alpha carbons of a protein. Currently I am using the script DistancesRH but this spits back the distances from one alpha carbon to all other atoms. Any way to only do CA to CA or is there another script to use? Thanks - A