Given any two selections, this script calculates and returns the pairwise distances between all atoms that fall within a defined distance.
Can be used to measure distances within the same chain, between different chains or different objects.
Distances can be restricted to sidechain atoms only and the outputs either displayed on screen or printed on file.
pairwise_dist sel1, sel2, max_dist, [output=S/P/N, [sidechain=N/Y, [show=Y/N]]]
- sel1 = first selection
- sel2 = second selection
- max_dist = max distance in Angstroms
- output = accepts Screen/Print/None (default N)
- sidechain = limits (Y) results to sidechain atoms (default N)
- show = shows (Y) individual ..→