That's the spirit Jason -- don't hold back with those questions! > From: Jason Yano [mailto:jky...@bragg.bio.uci.edu]
> 1) Is there a way to find out what secondary strucuture has been > assigned by the automatic algorythem? > I assume there must be a python command that will dump the > output of the > utility to the screen or to a file. util.ss iterate (name ca),print resn,resi,chain,ss # or to a file (using the persistent global object "stored") stored.file = open("secondary.txt","w") iterate (name ca),stored.file.write("%s %s %s %s\n"%(resn,resi,chain,ss)) stored.file.close() # but remember, that SS algorithm is bogus -- it was cooked up in a few hours based on what I thought "looked right". > 2) Is there any information available for any of the other > util programs? The menu module makes use of the util module, so you will see some example code there. So far there isn't much else in the way of documention. > 3) Is it possible to color the chain by B-factor? # yes, but it's weak. color br0 color br1,(b>5) color br2,(b>10) color br3,(b>15) color br4,(b>20) color br5,(b>25) color br6,(b>30) color br7,(b>35) color br8,(b>40) color br9,(b>45) # You can create a python loop which does the same thing. # Try colors, s000, s001, ... up through s999 for more subtle shading. > 4) I have a heme moiety, I can get the program to display the > FE atom, > but I'm not sure how to increase the sphere size of the atom > so that I > can exagerate it, it is possibe? something close to the set > atomradius > command in molscript. alter (elem fe),vdw = 4.0 rebuild # should work, but just in case you might need to use the # atom name (whatever it is) alter (name fe),vdw = 4.0 rebuild > 5) For some strange reason it recognizes the Nitrogens on the heme > differently and colors some of them blue and others pink. I tried to > manually set it like I could for the Fe, but I think that I am not > getting the atom type/name correct. Is there a list of atom names? PyMOL is probably getting confused. Please send a copy of the PDB file to war...@delanoscientific to debug. > 6) Is there a way to make a C-alpha trace? other than ribbons > something > that will draw straight bonds between C-alpha's? #ala midas "chain" command? set ribbon_sampling=1 show ribbon > 7) Is it possible to change the color of the mesh (not the isomesh) > relatve to helix color ie what are the command line commands. I have > tied color red, mesh and that didn't seem to work, same > question for the > surfaces as well. set mesh_color=blue set surface_color=green > 8) Is it possible to have a "ball and stick" representation? yes, but right now is it kludgy...you will need to create multiple copies of an object if you want to simultaneously adjust vdw and show surfaces. alter (all),vdw=vdw*0.25 set stick_radius=0.15 rebuild > 9) What is the command to output a pov ray file? You'll need to use Python for this. cmd.get_povray() returns a tuple of two strings (header and data). Write these to a file in order to get a povray input file. > 10) How do you get two color helicies, ie the equivalent to > planecolour2 > in molescript? sorry can't do this, but 8.5 out of 10 aint bad ; ) PyMOL's secondary structures are unicolor for now. > So far the program is running great. The stereo works very > well for me. > I have it running on a dual AMD athlon 1.4GHz, with an Oxygen GVX1 > graphics card and 1 gig of DDR ram under the Windows 2000 pro OS. I envy you. That's pretty much the machine I'd like to buy except that I'd run Linux on it at +200 mhz. Athlon's are definitely the way to go -- Python really flies on them. - Warren