From: Manali Joshi (manali_at_adrik.bchs.uh.edu)
Date: Tue May 22 2007 - 13:04:27 CDT

Hello,

I have multiple pdb files of spheres with varying radii. Each file has around 500 spheres.
One way i have found to make vmd display them according to their radii is to load them all as one type of atom (example Carbon) and then write a script such as

draw sphere { x y z } radius 1.01
draw sphere { xy z } radius 2.4
:
and so on, one line for each sphere.

However with multiple pdb files its getting too cumbersome to write a script for each file.
Is there a way i can make vmd read the radii from the B factor/ occupancy column, by one command ?

Thanks in advance for any help.

Manali