Re: [PyMOL] run script

2005-06-30 Thread Lieven Buts
On Thursday 30 June 2005 13:26, Andrea Spitaleri wrote: > from pymol import cmd > file=open("file.nam") > for i in file.readlines(): > cmd.load(i) You may have to strip the trailing newline ("\n") from each file name by using "cmd.load(i.strip())"

Re: [PyMOL] rotation origin

2004-11-08 Thread Lieven Buts
f.close() The first line opens a file for writing (overwriting the existing file, if any). The second line generates PDB ATOM records for all the atoms in the selection "(object)". The thrird line appends an "END" record, and the fourth line closes the file, ensuring

Re: [PyMOL] ribbon view of c-alpha only coordinates

2004-11-02 Thread Lieven Buts
't > connect them with lines. Try "set ribbon_trace,1". -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] transformation matrix

2004-10-22 Thread Lieven Buts
racts the transformation matrices from the Dali report file. If someone has a way to use this matrix in PyMol, we'd be set: #!/usr/bin/env python # Script to extract 3x4 transformation matrices from Dali report files # Lieven Buts, 22-Oct-2004 import re,sys dali = open(sys.argv[1]

Re: [PyMOL] PyMOL tutorial (moved and slightly updated)

2004-08-22 Thread Lieven Buts
ven know whether you spell it with an s or a c :-) ), but a good source of information seems to be at http://creativecommons.org/ . -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] unit cell

2004-08-15 Thread Lieven Buts
zoom out and/or change the clipping planes to show all of the unit cell. -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] Cavity display?

2004-07-23 Thread Lieven Buts
S, recommended by Lari and got a surface picture of my > cavities within literally a few minutes, as Lari already wrote. The rTools (http://www.rubor.de/bioinf/pymol_rubor.html) also contain a fucntion to interface PASS with PyMOL. -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] PyMOL + APBS for easy, accurate electrostatics calculations

2004-07-15 Thread Lieven Buts
DFLAGS were empty before I started. If they are not, you may have to use export LDFLAGS="${LDFLAGS} -L/usr/local/lib/i686-pc-linux" instead. Hope this helps, -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

[PyMOL] Tip: removing dummy atoms in NMR PDB files

2004-06-23 Thread Lieven Buts
atoms can be quickly selected with a command like select dummies,(name QA,QB,QD,QD1,QD2,QE,QE2,QG, \ QG1,QG2,QH1,QH2,QQD,QQG,QR,QZ) The atoms can then be deleted using the "remove atoms" command on the "dummies" selection in the PyMOL menu. -- Lieven Buts Department of Ult

Re: [PyMOL] Basic hardware questions

2004-06-15 Thread Lieven Buts
racing, but it would only be beneficial on systems with very recent graphics boards. [1] http://graphics.stanford.edu/projects/brookgpu/index.html [2] http://www.gpgpu.org/ I'm sure there are much more details to consider, but I hope this is a start. -- Lieven Buts Department of Ultrastr

Re: [PyMOL] Question about surface calculation

2004-03-14 Thread Lieven Buts
luded for surface generation. You can also create separate objects to generate exactly the surfaces you want. Cheers, -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] restoring default surface coloring

2004-03-02 Thread Lieven Buts
bject") (note the parentheses and quotes) to color the object by atom type and set the carbon atoms to green. There's "cbag" for "color by atom type, carbons green", "cbaw" for white carbons, "cbay" for yellow carbons and so on. Alternatively,

Re: [PyMOL] Select Atom & Change View

2004-01-14 Thread Lieven Buts
more specific ("zoom (protein and chain A and resi 25 and name CA)" for example). There are many abbreviations for long selections. Type "help selections" for more information. -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] H-bonds

2004-01-06 Thread Lieven Buts
re complete criteria. The rTools for PyMOL (available at <http://www.rubor.de/bioinf/pymol_rubor.html> ) provide an interface to the HBExplore program at <http://www.imb-jena.de/www_bioc/hbx/hbx.html>. See the rTools documentation for more details. -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] make cartoon from carbon atom trace?

2004-01-06 Thread Lieven Buts
o not appear to get connected. Best wishes to all for 2004, -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] Selecting a lot of residues

2003-12-04 Thread Lieven Buts
into a single-line PyMol command select group,(protein and chain A and resi 5,10,50,51,52,100) which can be copied/pasted into PyMol, or read from the file with "@list.pml". -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] Selecting a lot of residues

2003-12-03 Thread Lieven Buts
n and resi 50) or \ (protein and resi 51) or \ (protein and resi 52) or \ (protein and resi 100) ) Note the additional parentheses around the complete expression. This can be executed in PyMol by typing "@list.pml" and should select the indicated residues in the molecule "protein". Hope this helps, -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel

Re: [PyMOL] you know what would be cool?

2003-11-18 Thread Lieven Buts
(PDB 103L). At residue 139, cosom becomes slightly larger than 1 (1.0008 or so) and acos(cosom) fails. Also, omega and sinom become zero in this case, so the divisions by sinom fail. I added some checks to normalize this situation and stop the code from crashing, but we should look into wh

Re: [PyMOL] color choices

2003-04-01 Thread Lieven Buts
that you can use color whatever, ... -- Lieven Buts Department of Ultrastructure

[PyMOL] Alter command and cartoon representation

2002-12-03 Thread Lieven Buts
nge. When I try "util.ss protein", the cartoon changes immediately. What am I missing? -- Lieven Buts Department of Ultrastructure

Re: [PyMOL] Getting started with movies for moving through a presentation

2002-11-04 Thread Lieven Buts
;(arg and n;cb)","(arg and n;ca)") cmd.torsion("2") cmd.unpick() cmd.set("suspend_updates",0,quiet=1) cmd.refresh() cmd.feedback('ena','sel','res') else: cmd.delete("arg") -- Lieven Buts Department of Ultrastructure Brussels Free University

[PyMOL] Re: using PyMol in PowerPoint

2002-10-31 Thread Lieven Buts
int. Could you provide some more details on this procedure. So far I have only managed to include an icon/object in PowerPoint that starts PyMol in an extra window (with a specified script). -- Lieven Buts Vrije Universiteit Brussel

Re: [PyMOL] Help! Color by atom/H-bond display/mouse on OSX

2002-07-31 Thread Lieven Buts
, cyan, salmon, purple, pink, white (hydrogen) and slate). -- Lieven Buts Brussels Free University

Re: [PyMOL] molecular sculpting

2002-07-19 Thread Lieven Buts
l there, as it allows for a more "physical" or "intuitive" way of manipulating the model than moving individual atoms or turning torsion angles. -- Lieven Buts Brussels Free University

Re: [PyMOL] molecular sculpting

2002-07-18 Thread Lieven Buts
x27;t know about the script or the wizard (yet), but I did try the sculpting demo in the Demo menu. You can then just drag atoms by left-clicking them while holding down the control key. The dragged atom moves, everything it is connected to is dragged along, and the structure tries to minimize its

Re: [PyMOL] Babel and File Format Conversion

2002-05-21 Thread Lieven Buts
abel project at <http://openbabel.sourceforge.net/>. -- Lieven Buts Brussels Free University

[PyMOL] Creating separate objects from a starting structure

2002-05-08 Thread Lieven Buts
show sticks,three This works very well. Maybe a wizard could be created to automatically split a structure into separate objects for the different chains? -- Lieven Buts Vrije Universiteit Brussel