Re: [PyMOL] Atom selection

2011-10-14 Thread Tsjerk Wassenaar
Hi George, You might want to use cmd.get_model() to make your life easier. It turns a selection into a chempy model, which has an attribute .atom, containing all the corresponding atoms with names, identifiers, coordinates, etc. Check scripts on the pymolwiki that do comparable things. Hope it h

Re: [PyMOL] Atom Selection Macros : /object-name/segi-identifier/ chain-identifier/resi-identifier/name-identifier

2011-04-16 Thread Keitaro Yamashita
Dear Leila, Here is the description of PDB format. http://deposit.rcsb.org/adit/docs/pdb_atom_format.html#ATOM Looking at first lines of your pdb file, I think no segid defined in your pdb file. So, please try "/com.pdb//a/2/ca" or "com.pdb and chain a and resi 2 and name ca". Cheers, Keitaro

Re: [PyMOL] Atom selection based on Hydrogen Bonding Partners

2010-05-10 Thread Michael Zimmermann
I suppose you could modify this script to show sticks when you find a H-bond pair. Delete the parts that make the dashed line and label and replace them with "show sticks" or add them to a selection. http://www.ebi.ac.uk/~gareth/pymol/downloads/scripts/hbond.py Not the nicest solution, but maybe

RE: [PyMOL] atom selection: wildcard

2005-04-20 Thread Warren DeLano
Doug, > select oxy, name o* should be select oxy, elem o FYI: The very latest betas have wildcards enabled for atom names, so in fact your original idea will work in future PyMOL versions. http://www.delsci.com Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scienti