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

[PyMOL] Atom selection

2011-10-14 Thread George Kvaratskhelia
I'm writing a function script in Python for PyMOL and I need to convert an atoms number to its location, or somehow gain a list of atom locations form a group location. When the script is ran and the function is used the atom locations are entered : GKDistance("GLY`730/*","LYS`115/N*") If

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

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

2011-04-16 Thread leila karami
Dear pymol users I read in the tutorial: Atom Selection Macros /object-name/segi-identifier/ chain-identifier/resi-identifier/name-identifier I don't understand segi-identifier I want to select a atom *ca* in residue *2* in chain *a* in *com.pdb*. object-name = com.pdb *segi-identifier = ?* c

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

[PyMOL] Atom selection based on Hydrogen Bonding Partners

2010-05-09 Thread phani ghanakota
Hi, I have been using the dist command with mode=2 to show hydrogen bonds around a ligand. Is there a way to make a selection of all the residues in a protein hydrogen bonding with a ligand, so that I can show them as sticks. Thanks in Advance. 

RE: [PyMOL] atom selection: wildcard

2005-04-20 Thread Warren DeLano
-users-ad...@lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of > Douglas Kojetin > Sent: Wednesday, April 20, 2005 1:55 PM > To: 'pymol' > Subject: [PyMOL] atom selection: wildcard > > Hi All- > > Is it possible to select all oxygen

[PyMOL] atom selection: wildcard

2005-04-20 Thread Douglas Kojetin
Hi All- Is it possible to select all oxygen atoms (backbone & sidechain) with a command similar to the following: select oxy, name o* I cannot seem to get any variation of that to work without specifying all atoms (e.g. o+oe1+oe2) Thanks, Doug

[PyMOL] atom selection

2003-01-02 Thread Fei Xu
HI! All: I am used an old version of pymol. When I selected C5* in the backbone of DNA , pymol will select two atoms, one is C5* on backbone the other is C5 on base pair. My expression isselect (chain/residue number/C5*). If you are using the newly version of pymol, would you like to try the ex