You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(13) |
Nov
(22) |
Dec
(35) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(33) |
Feb
(46) |
Mar
(56) |
Apr
(29) |
May
(56) |
Jun
(30) |
Jul
(64) |
Aug
(54) |
Sep
(86) |
Oct
(106) |
Nov
(50) |
Dec
(67) |
| 2003 |
Jan
(78) |
Feb
(98) |
Mar
(51) |
Apr
(95) |
May
(53) |
Jun
(103) |
Jul
(93) |
Aug
(64) |
Sep
(87) |
Oct
(93) |
Nov
(78) |
Dec
(86) |
| 2004 |
Jan
(83) |
Feb
(90) |
Mar
(64) |
Apr
(112) |
May
(103) |
Jun
(57) |
Jul
(101) |
Aug
(84) |
Sep
(92) |
Oct
(96) |
Nov
(86) |
Dec
(32) |
| 2005 |
Jan
(88) |
Feb
(108) |
Mar
(111) |
Apr
(107) |
May
(120) |
Jun
(134) |
Jul
(143) |
Aug
(129) |
Sep
(75) |
Oct
(171) |
Nov
(125) |
Dec
(65) |
| 2006 |
Jan
(95) |
Feb
(105) |
Mar
(114) |
Apr
(124) |
May
(87) |
Jun
(66) |
Jul
(88) |
Aug
(65) |
Sep
(71) |
Oct
(92) |
Nov
(94) |
Dec
(60) |
| 2007 |
Jan
(81) |
Feb
(84) |
Mar
(82) |
Apr
(68) |
May
(58) |
Jun
(80) |
Jul
(30) |
Aug
(47) |
Sep
(68) |
Oct
(92) |
Nov
(59) |
Dec
(17) |
| 2008 |
Jan
(69) |
Feb
(81) |
Mar
(60) |
Apr
(34) |
May
(47) |
Jun
(65) |
Jul
(46) |
Aug
(49) |
Sep
(84) |
Oct
(43) |
Nov
(33) |
Dec
(30) |
| 2009 |
Jan
(62) |
Feb
(48) |
Mar
(123) |
Apr
(73) |
May
(72) |
Jun
(69) |
Jul
(78) |
Aug
(72) |
Sep
(99) |
Oct
(82) |
Nov
(70) |
Dec
(53) |
| 2010 |
Jan
(112) |
Feb
(95) |
Mar
(127) |
Apr
(110) |
May
(135) |
Jun
(91) |
Jul
(91) |
Aug
(79) |
Sep
(136) |
Oct
(63) |
Nov
(38) |
Dec
(64) |
| 2011 |
Jan
(59) |
Feb
(109) |
Mar
(191) |
Apr
(130) |
May
(94) |
Jun
(90) |
Jul
(89) |
Aug
(127) |
Sep
(135) |
Oct
(113) |
Nov
(136) |
Dec
(140) |
| 2012 |
Jan
(158) |
Feb
(131) |
Mar
(151) |
Apr
(88) |
May
(121) |
Jun
(85) |
Jul
(82) |
Aug
(56) |
Sep
(55) |
Oct
(125) |
Nov
(87) |
Dec
(65) |
| 2013 |
Jan
(81) |
Feb
(64) |
Mar
(90) |
Apr
(77) |
May
(80) |
Jun
(92) |
Jul
(92) |
Aug
(70) |
Sep
(69) |
Oct
(60) |
Nov
(99) |
Dec
(50) |
| 2014 |
Jan
(89) |
Feb
(66) |
Mar
(52) |
Apr
(70) |
May
(68) |
Jun
(44) |
Jul
(68) |
Aug
(81) |
Sep
(152) |
Oct
(106) |
Nov
(74) |
Dec
(57) |
| 2015 |
Jan
(93) |
Feb
(48) |
Mar
(60) |
Apr
(107) |
May
(82) |
Jun
(64) |
Jul
(74) |
Aug
(38) |
Sep
(49) |
Oct
(99) |
Nov
(105) |
Dec
(51) |
| 2016 |
Jan
(68) |
Feb
(87) |
Mar
(55) |
Apr
(90) |
May
(68) |
Jun
(25) |
Jul
(25) |
Aug
(41) |
Sep
(35) |
Oct
(55) |
Nov
(24) |
Dec
(26) |
| 2017 |
Jan
(59) |
Feb
(49) |
Mar
(24) |
Apr
(50) |
May
(45) |
Jun
(63) |
Jul
(36) |
Aug
(26) |
Sep
(22) |
Oct
(23) |
Nov
(26) |
Dec
(29) |
| 2018 |
Jan
(17) |
Feb
(21) |
Mar
(30) |
Apr
(34) |
May
(24) |
Jun
(47) |
Jul
(65) |
Aug
(30) |
Sep
(24) |
Oct
(52) |
Nov
(21) |
Dec
(17) |
| 2019 |
Jan
(9) |
Feb
(39) |
Mar
(32) |
Apr
(22) |
May
(30) |
Jun
(69) |
Jul
(40) |
Aug
(48) |
Sep
(17) |
Oct
(26) |
Nov
(30) |
Dec
(19) |
| 2020 |
Jan
(32) |
Feb
(26) |
Mar
(16) |
Apr
(34) |
May
(50) |
Jun
(87) |
Jul
(51) |
Aug
(23) |
Sep
(25) |
Oct
(48) |
Nov
(32) |
Dec
(6) |
| 2021 |
Jan
(12) |
Feb
(31) |
Mar
(15) |
Apr
(31) |
May
(13) |
Jun
(13) |
Jul
(24) |
Aug
(9) |
Sep
(11) |
Oct
(28) |
Nov
(26) |
Dec
(25) |
| 2022 |
Jan
(47) |
Feb
(22) |
Mar
(22) |
Apr
(12) |
May
(4) |
Jun
(26) |
Jul
(17) |
Aug
(2) |
Sep
(13) |
Oct
(6) |
Nov
(13) |
Dec
(4) |
| 2023 |
Jan
(7) |
Feb
(6) |
Mar
(13) |
Apr
(2) |
May
(25) |
Jun
(13) |
Jul
(12) |
Aug
(10) |
Sep
(5) |
Oct
(13) |
Nov
(19) |
Dec
(7) |
| 2024 |
Jan
(3) |
Feb
(12) |
Mar
(1) |
Apr
(13) |
May
(11) |
Jun
|
Jul
(20) |
Aug
(4) |
Sep
(4) |
Oct
(5) |
Nov
(4) |
Dec
(6) |
| 2025 |
Jan
(16) |
Feb
(8) |
Mar
(10) |
Apr
(6) |
May
(13) |
Jun
(7) |
Jul
(4) |
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
(4) |
Dec
|
|
From: Ben C. <ac...@em...> - 2002-01-28 14:00:13
|
Jason Yano <jk...@br...> writes: > Hi All, > I just wanted to know if there was a way to include resolution > and pixels per inch ie 150 or 300 rather than the default of 72 > pixles/inch in the .pml scritp ie > Just provide `ray' with an optional width and height. Ben |
|
From: Jason Y. <jk...@br...> - 2002-01-28 00:12:11
|
Hi All, I just wanted to know if there was a way to include resolution and pixels per inch ie 150 or 300 rather than the default of 72 pixles/inch in the .pml scritp ie [1280x1024, 150pixels/inch] ray png image_name.png Jason |
|
From: DeLano, W. <wa...@su...> - 2002-01-27 21:27:02
|
> From: Eric C. Peterson [mailto:ec...@ua...] > I am putting some figures together for an upcoming manuscript=20 > and am trying > to figure out a few details. Some of the things I want to do may be > possible, some not. Here are the questions I have: >=20 > 1. How do you display electrostatic potential on surface displays? Not yet directly possible, but that will change soon. The nearest thing you can achieve is to color by charge. =20 > 2. Can the colors of individual side chains be changed=20 > without affecting the > surface? If you want a uniform surface color, set surface_color, <color-name>, <object-name> For anything complicated, just create a second copy of the object. Show the surface in one and sticks in the other. Then color independently. =20 > 3. I have tried to assign SS manually, but the cartoon skips=20 > at certain > sections (ie alpha helices). What can I do to fix this? Hmm. This should happen unless those atoms are HETATMS. To be sure: show cartoon alter all,type=3D'ATOM' rebuild I'm a little suspicious that there might be some lingering bugs in the ribbon code. If you have an example PDB file and script which reproduces the problem, please send them to me. |
|
From: Jason Y. <jk...@br...> - 2002-01-27 03:15:50
|
Hi All,
I'm looking for a way to display a "ball and Stick" representation
of an Fe-S cluser, with a cartoon for the protein back bone. I can get the
spheres for the Fe-S cluster, but can't connect them. Here's the script so
far.
#Pymol script for Adx 1AYF
load C:\Documents and Settings\jkyano\My Documents\P450 pdb\1AYF_A.pdb,
ADX
bg white
### cut below here and paste into script ###
set_view (\
-0.057087217, 0.618627429, -0.783607304,\
0.026588190, 0.785550535, 0.618226647,\
0.998013437, 0.014458310, -0.061293427,\
-1.276597023, 0.201005965, -106.195739746,\
-12.916477203, -11.231512070, -8.815745354,\
74.405113220, 137.986404419, 0.000000000 )
### cut above here and paste into script ###
util.ss
color slate, ADX
hide everything, ADX
show cartoon, ADX
select fes =(resid 109)
show sphere, fes
color yellow, fes
alter (name s1), vdw=.75
alter (name s2), vdw=.75
rebuild
sel elem fe
color marine, fe
Thanks for the help,
Jason
|
|
From: proclus r. <pr...@in...> - 2002-01-27 00:47:52
|
Announcing PyMOL for GNU-Darwin on Intel architecture (x86)! terminal shot http://gnu-darwin.sourceforge.net/gdc/pymol.x86.png sample graphic http://gnu-darwin.sourceforge.net/gdc/pymol2.x86.png installation script (for Intel only!) http://gnu-darwin.sourceforge.net/gdc/pymol-x86 The installation script provides ncurses-5.2.x86.tgz python-2.2_1.x86.tgz tcl-8.3.4_3.x86.tgz tk-8.3.4_1.x86.tgz py22-numeric-20.2.1.x86.tgz py22-tkinter-2.2.x86.tgz and pymol-0_73_1.x86.tgz. For more information about the x86 platform, see the ports and packages page for GNU-Darwin-x86. http://gnu-darwin.sourceforge.net/x86/ PyMOL now builds automatically with the ports system, and required source code is in CVS. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gnu-darwin/4Darwin-x86/ports/science/pymol/ BTW. This japanese Balsa now appears to be working pretty well ;-}. Heave Ho! Regards, Michael L. Love MacCHESS Cornell University http://www.gnu-darwin.org/ -- Visit proclus realm! http://proclus.tripod.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GMU/S d+@ s: a+ C++++ UBOULI++++$ P+ L+++(++++) E--- W++ N- !o K- w--- !O M++@ V-- PS+++ PE Y+ PGP-- t+++(+) 5+++ X+ R tv-(--)@ b !DI D- G e++++ h--- r+++ y++++ ------END GEEK CODE BLOCK------ |
|
From: Eric C. P. <ec...@ua...> - 2002-01-25 23:00:43
|
First of all, I am quite impressed with this program, free or not. I also saw Dr. Wells speak at the Keystone conference in Breckenridge in January where he presented some graphics using Rigimol. Very nice. I am putting some figures together for an upcoming manuscript and am trying to figure out a few details. Some of the things I want to do may be possible, some not. Here are the questions I have: 1. How do you display electrostatic potential on surface displays? 2. Can the colors of individual side chains be changed without affecting the surface? 3. I have tried to assign SS manually, but the cartoon skips at certain sections (ie alpha helices). What can I do to fix this? Any help is appreciated. Thanks. Eric Peterson Ph.D. Candidate Cell and Molecular Biology 19 West Avenue Annex University of Arkansas Fayetteville, AR 72701 (501) 575-3021 Fax (501) 575-8434 |
|
From: DeLano, W. <wa...@su...> - 2002-01-24 03:46:30
|
Don't you hate it when users outsmart the programmer?
This is a tough one. The only solution I can think of is not memory
efficient, but it should work:
Load each frame of the movie into a separate segment or chain. This
should allow you to independently address each frame...
# assume that the segment is '' (empty) in the PDB files...
load frame1.pdb,mov
alter (segi ''),segi=3D'1'
load frame2.pdb,mov
alter (segi ''),segi=3D'2'
etc.=20
You can use Python to make a loop by switching to the Python API as
follows:
from pymol import cmd
for a in range(1,30):
cmd.load("frame%d.pdb"%a,"mov")
cmd.alter("(segi '')","segi=3D'%d'"%a)
Then you should be able to say:
color red,/mov/1//101/ca
color red,/mov/2//101/ca
color red,/mov/3//101/ca
Good luck,
Warren
--
mailto:wa...@su...
Warren L. DeLano, Ph.D.
Informatics Manager
Sunesis Pharmaceuticals, Inc.
341 Oyster Point Blvd.
S. San Francisco, CA 94080
(650)-266-3606 FAX:(650)-266-3501
> -----Original Message-----
> From: Nat [mailto:nat...@ya...]
> Sent: Wednesday, January 23, 2002 7:39 PM
> To: pym...@li...
> Subject: [PyMOL] movie frame alterations
>=20
>=20
>=20
> Is it possible to make changes to the way individual frames=20
> are rendered?
> Specifically, I'm writing a Python script (translated=20
> literally from C,
> but I'm too tired to learn the Python API right now) to evaluate bond
> "quality" and highlight the distorted regions in a frame of a protein
> morph. However, since the distortions tend to come in the middle of a
> morph, I want to examine each frame alone and apply highlighting only
> where applicable.
>=20
> Right now, treating individual frames as part of an object (i.e. for a
> movie) means that calls like 'color red, 101/ca' are applied to every
> state. Is there some way to only run that command on one state? In
> simple terms, I'm trying for a movie that changes color=20
> during its course
> to indicate bond quality. It's much easier to do this if I=20
> can use movie
> objects, especially since it would be nice to be able to run this
> interactively. Otherwise, I'm going to just create a very=20
> long pml file
> with all the commands.
>=20
> thanks,
> Nat
>=20
>=20
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>=20
|
|
From: Nat <nat...@ya...> - 2002-01-24 03:38:53
|
Is it possible to make changes to the way individual frames are rendered? Specifically, I'm writing a Python script (translated literally from C, but I'm too tired to learn the Python API right now) to evaluate bond "quality" and highlight the distorted regions in a frame of a protein morph. However, since the distortions tend to come in the middle of a morph, I want to examine each frame alone and apply highlighting only where applicable. Right now, treating individual frames as part of an object (i.e. for a movie) means that calls like 'color red, 101/ca' are applied to every state. Is there some way to only run that command on one state? In simple terms, I'm trying for a movie that changes color during its course to indicate bond quality. It's much easier to do this if I can use movie objects, especially since it would be nice to be able to run this interactively. Otherwise, I'm going to just create a very long pml file with all the commands. thanks, Nat |
|
From: DeLano, W. <wa...@su...> - 2002-01-21 21:40:01
|
> From: Ricardo Aparicio [mailto:apa...@if...] > 1) what is the effect of command "stereo" in PyMol? Does it makes a > confuse screen (like in O when one is not using stereo > glasses)? If so, > there is no sense in capture the image from the screen with > png command. No, it just fails altogether.=20 > 2) how to make stereo figures using PyMol. If necessary we have SGIs > with stereo here. Easy -- you do it the old fashion way: png left.png turn y,5 png right.png And then use something like Photoshop or PowerPoint to combine the two images into a single stereo-pair. =20 The above recipe gives you cross-eye. You'll want to play with the angle a bit and or negate it in order to do wall-eye stereo. - Warren |
|
From: Ricardo A. <apa...@if...> - 2002-01-21 21:09:52
|
Dear users, I am running PyMol in a PIII500 without any stereo hardware and I would like your help to solve these 2 questions: 1) what is the effect of command "stereo" in PyMol? Does it makes a confuse screen (like in O when one is not using stereo glasses)? If so, there is no sense in capture the image from the screen with png command. 2) how to make stereo figures using PyMol. If necessary we have SGIs with stereo here. Thank you very much, Ricardo Aparicio PhD student, USP Sao Paulo Brazil |
|
From: Tommy W. <che...@im...> - 2002-01-21 08:28:42
|
How do I get pymol to read in my dssp output so that I can view it as a cartoon? |
|
From: Warren L. D. <wa...@su...> - 2002-01-20 17:55:53
|
On Sun, 20 Jan 2002, Ricardo Aparicio wrote: > I am using PyMol version 0.68 and it is very very slow the control of > graphical interface. > I've got the following error when starting the program and I would like > to know if this slow response is a consequence of it: > > WARNING: Python C API version mismatch for module _cmd: > This Python has API version 1009, module _cmd has version 1007. You'll get this error if the "Python.h" header file you built PyMOL with is different from the one corresponding to the Python library you're using. The message is usually harmless. PyMOL will seem slow unless you have a hardware graphics accelerator, with suitable drivers (under Linux). PyMOL does not perform at all well using software OpenGL (Mesa) because it does not use display lists. - Warren |
|
From: Warren L. D. <wa...@su...> - 2002-01-20 17:51:15
|
On Sun, 20 Jan 2002, Ricardo Aparicio wrote: > Thank you all for reply my ray question. Just for information, using the > default parameters (without clues from "help faster"), an image of a map > plus a cartoon took 30 min. to be rendered in a PIII500 MHz: > " Ray: total rendering time: 1820.91 sec. = 2.0 frames per hour." Wow, that is slow. Increasing hash_max can help, but certain geometries will always give PyMOL trouble. One alternative is to upgrade to 0.73 and then use PovRay to do the rendering. PovRay is smarter about handling tough scenes efficiently. How many geometric primitives are trying to render? > I am using a mask from NCSMASK (with a very fine grid) converted to ccp4 > map and loaded in PyMol. > I would like very much to compare more than 1 mask but it is necessary > to make them transparent. If you can't see through your meshes then these are extremely dense -- which probably explains why raytracing and openGL are dog slow -- I've never loaded maps that tight into PyMOL. Is there any way you can resample them to a more reasonable level before loading them into PyMOL? > As stated in the "help transparency", > > " Transparency is currently managed by setting either the global > transparency variable or one attached to an individual molecule object. > set transparency=0.5 # makes all surfaces 50% > transparent " > > But using transparency=0.5 I can't see any results on the masks. > > Please, if you can help me once more, > > 1- Is it map considered a "surface" by PyMol?? I think not, that is the > reason by which transparency doesn't have any effect in the mask. Molecule and isosurface meshs are not considered surfaces in this context. By "all surfaces" I was referring to the surfaces representation in all molecules. > 2- Is it possible to obtain a "surface" from a map? I think not, just to > confirm. Not yet, but that is planned. > PS: > 1) The "surface" command in PyMol didn't give a nice surface as the > number of atoms model per unit of volume is low. That is the expected behavior. A surface with holes big enough for waters to penetrate should look like swiss cheese : ). > 2) I always can make the mask with a coarser grid to get "transparency" > but I wouldn't like in view of the rough surface obtained in this way. There should be a reasonable middle-ground between a mesh which is so fine that it is opaque and a mesh which is so coarse that it appears rough. > 3) Sorry but because manual is not very complete (I know about > development problems) and I don't have experience in this area, I need > to ask what could be considered "silly" questions. Your questions aren't silly. Particularly since your are clearly trying to use PyMOL for a task I didn't originally envision. That's great, but understand it may or may not be up to the task (I hope it is). Regarding the manual, please don't lose the proper perspective: this software is free and created 100% in my spare time. That a manual exists at all is a remarkable thing! Preparing good documentation takes more time than does development, and I don't get the benefit from creating a manual that I do from adding a new feature to the program. My hope is that users will starting supporting PyMOL on a regular basis and will thus provide the resources for improved documentation and other enhancements. - Warren |
|
From: Ricardo A. <apa...@if...> - 2002-01-20 15:24:43
|
I am using PyMol version 0.68 and it is very very slow the control of graphical interface. I've got the following error when starting the program and I would like to know if this slow response is a consequence of it: WARNING: Python C API version mismatch for module _cmd: This Python has API version 1009, module _cmd has version 1007. Where can I get the correct "module_cmd" ?? I am using Linux Mandrake 8.0 on a PIII500 MHz. Does this problem could be solved installing new PyMol version? Thank you again, Ricardo Aparicio PhD Student |
|
From: Ricardo A. <apa...@if...> - 2002-01-20 14:51:19
|
Hi again. Thank you all for reply my ray question. Just for information, using the default parameters (without clues from "help faster"), an image of a map plus a cartoon took 30 min. to be rendered in a PIII500 MHz: " Ray: total rendering time: 1820.91 sec. = 2.0 frames per hour." I am using a mask from NCSMASK (with a very fine grid) converted to ccp4 map and loaded in PyMol. I would like very much to compare more than 1 mask but it is necessary to make them transparent. As stated in the "help transparency", " Transparency is currently managed by setting either the global transparency variable or one attached to an individual molecule object. set transparency=0.5 # makes all surfaces 50% transparent " But using transparency=0.5 I can't see any results on the masks. Please, if you can help me once more, 1- Is it map considered a "surface" by PyMol?? I think not, that is the reason by which transparency doesn't have any effect in the mask. 2- Is it possible to obtain a "surface" from a map? I think not, just to confirm. Thank you very much, Ricardo Aparicio PhD Student - USP Sao Paulo - Brazil PS: 1) The "surface" command in PyMol didn't give a nice surface as the number of atoms model per unit of volume is low. 2) I always can make the mask with a coarser grid to get "transparency" but I wouldn't like in view of the rough surface obtained in this way. 3) Sorry but because manual is not very complete (I know about development problems) and I don't have experience in this area, I need to ask what could be considered "silly" questions. |
|
From: W. <re...@wu...> - 2002-01-19 12:02:08
|
Hi, where can i set the path to the tcl-directory. PyMol looks for tcl in a=20 false directory. Thanks, Ren=E9 |
|
From: Andrey K. <ak...@kd...> - 2002-01-18 21:04:04
|
Ricardo, "RA" == Ricardo Aparicio wrote: RA> - is it necessary? Does it make great difference in the final quality of RA> figures published (in the case of a paper)? Yes, ray-traced images have much better quality than simple and fast render for interactive use. RA> - does it renderize(?) all the active objects in the screen? (render) RA> - after finished ray process, if the image is rotated, is it necessary RA> to renderize again (I think no, just to confirm) Yes, it has to be rendered again. The idea is to select the projection you want to be printed out, render it and use the resulting image file in your publication. -- Andrey V Khavryuchenko http://www.kds.com.ua/ Offshore Software Development |
|
From: DeLano, W. <wa...@su...> - 2002-01-18 21:03:09
|
Ricardo, Yes, ray makes a huge difference in quality. You get true specular reflections (not just OpenGL interpolations), you get perfectly round spheres, you get shadows, you get clean transparent surfaces (without artifacts), and you get better depth-cue fogging (although with light backgrounds you'll probably want to set ray_trace_fog to 0). It renders all objects in the scene except for labels (which it is incapable of handling at present). Yes, you need to render (ray-trace) again after the image is rotated. (If you rotate an object, the shadows move). =20 Most of the figures you see in the top journals are generated using Molscript and Raster3D (or PovScript and PovRay) using a process very similar to the "ray" command. PyMOL simply makes creation of such figures much easier since you only need one program and you get to preview the exact image before-hand (set orthoscopic=3D0 to get a pixel-for-pixel match between OpenGL and the ray tracer). =20 Cheers, Warren -- mailto:wa...@su... Warren L. DeLano, Ph.D. > From: Ricardo Aparicio [mailto:apa...@if...] >=20 > Dear PyMol users, >=20 > as stated in the manual, command >=20 > "ray" creates a ray traced image of the current frame. This > can take some time (up to several minutes, depending on image > complexity). >=20 > My question is: >=20 > - is it necessary? Does it make great difference in the final=20 > quality of > figures published (in the case of a paper)? >=20 > - does it renderize(?) all the active objects in the screen? >=20 > - after finished ray process, if the image is rotated, is it necessary > to renderize again (I think no, just to confirm) >=20 >=20 > Many thanks, >=20 >=20 > Ricardo Aparicio > PhD Student - USP=20 > Sao Paulo - Brazil >=20 > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users >=20 |
|
From: Ricardo A. <apa...@if...> - 2002-01-18 20:50:44
|
Dear PyMol users, as stated in the manual, command "ray" creates a ray traced image of the current frame. This can take some time (up to several minutes, depending on image complexity). My question is: - is it necessary? Does it make great difference in the final quality of figures published (in the case of a paper)? - does it renderize(?) all the active objects in the screen? - after finished ray process, if the image is rotated, is it necessary to renderize again (I think no, just to confirm) Many thanks, Ricardo Aparicio PhD Student - USP Sao Paulo - Brazil |
|
From: DeLano, W. <wa...@su...> - 2002-01-14 19:00:56
|
> From: Scott Dixon [mailto:sc...@me...]
> > By the way, it is important to understand the disntinction=20
> between PyMOL's
> > scripts and Python programs you run your PyMOL -- PyMOL scripts are
> > basically just a linear series of PyMOL commands. For anything more
> > sophisticated, use straight Python.
> Understood. BTW, one way to get part of the benefit of arguments to
> PyMOL scripts is to use named selections and to load molecules into
> specific object names (like say, "ligand"). Then your=20
> scripts can work
> on the standard names and be more widely reusable. But I take your
> point about Python being much more versatile.
Yes, you can certainly use program state as a means of conveying
information, and you can even use global python variables in this manner
even when operating inside of PyMOL command scripts: =20
/obj1=3D"hi"
@ex1.pml
# where ex1.pml contains...
reset
/cmd.zoom(obj1)
/cmd.show("spheres",obj1)
NOTE: a forward slash can be used to explicitly include a line of Python
in a PyMOL script. Normally it isn't required (since PyMOL commands
fall back on Python "eval"), but it is more efficient because is
bypasses normal parsing.
Again, I view these approaches as best for limited -- real Python
scripts gives you so much more, with very little added burden.
Cheers,
Warren
=20
|
|
From: Scott D. <sc...@me...> - 2002-01-14 17:56:13
|
Hi, Warren-
On Mon, 2002-01-14 at 01:53, Warren L. DeLano wrote:
> > First of all, Warren, thanks for an impressive program. A couple of
> > questions as I begin to get into it:
>
> Thanks for the kind words!
>
> > I'm probably missing something obvious, but I don't see it in the
> > documentation. Is it possible to send arguments to scripts (either the
> > .pml script or Python scripts)? It would seem like that would make them
> > much more versatile.
>
> Hmm...script arguments aren't exactly present, but there is a more
> powerful solution: use Python functions to extend the PyMOL command
> language. Any functions defined in Python script can then be called from
> PyMOL (interatively or otherwise)
>
> By the way, it is important to understand the disntinction between PyMOL's
> scripts and Python programs you run your PyMOL -- PyMOL scripts are
> basically just a linear series of PyMOL commands. For anything more
> sophisticated, use straight Python.
Understood. BTW, one way to get part of the benefit of arguments to
PyMOL scripts is to use named selections and to load molecules into
specific object names (like say, "ligand"). Then your scripts can work
on the standard names and be more widely reusable. But I take your
point about Python being much more versatile.
>
> To achieve what you're looking for, create "test.py" with the following
> function (foo here for example)
>
> from pymol import cmd
> def foo(arg1,arg2):
> print arg1,arg2
> cmd.extend("foo",foo)
>
> Once you run the above script in PyMOL "run test.py", you will then be
> able to type "foo 1,2" to invoke the foo command with arguments.
Perfect. That is what I needed to know.
>
> > Second question: How would one write a Python script which went through
> > each frame of a movie and modified some aspect of the structure (like
> > the molecule name for example)?
>
> There are a couple of ways to do this. One would be to pull the object
> into the Python layer (cmd.get_model), change it, and then load in back in
> to PyMOL (cmd.load_model). The advantage of this approach is that you can
> directly manipulate the molecule, bond, and atom objects. The
> disadvantage is poor performance for large molecules (probably fine for
> organics though).
>
> Other approaches vary depending on what you want to change. Titles can be
> changed with "set_title", (which revealed a couple of minor bugs when I
> tried it just now, arrgh). Atomic properities can be modified using
> "alter". Atoms and bonds can be moved, created, or deleted using the
> editor functions, but which may not yet me sufficiently documented.
>
> No matter what you're changing, you'll need to apply changes to molecular
> "states". Just use a 1-based loop over each state, and pass this integer
> into the state argument (where required). Example:
>
> dock_score = [ -24.0, -9.5, -2.0 ]
> obj = "foo1" # your object name
> for a in xrange(1,4):
> cmd.set_title(obj,a,str(dock_score[a-1]))
Exactly what I wanted. Thanks.
Scott
|
|
From: Warren L. D. <wa...@su...> - 2002-01-14 08:53:35
|
> First of all, Warren, thanks for an impressive program. A couple of
> questions as I begin to get into it:
Thanks for the kind words!
> I'm probably missing something obvious, but I don't see it in the
> documentation. Is it possible to send arguments to scripts (either the
> .pml script or Python scripts)? It would seem like that would make them
> much more versatile.
Hmm...script arguments aren't exactly present, but there is a more
powerful solution: use Python functions to extend the PyMOL command
language. Any functions defined in Python script can then be called from
PyMOL (interatively or otherwise)
By the way, it is important to understand the disntinction between PyMOL's
scripts and Python programs you run your PyMOL -- PyMOL scripts are
basically just a linear series of PyMOL commands. For anything more
sophisticated, use straight Python.
To achieve what you're looking for, create "test.py" with the following
function (foo here for example)
from pymol import cmd
def foo(arg1,arg2):
print arg1,arg2
cmd.extend("foo",foo)
Once you run the above script in PyMOL "run test.py", you will then be
able to type "foo 1,2" to invoke the foo command with arguments.
> Second question: How would one write a Python script which went through
> each frame of a movie and modified some aspect of the structure (like
> the molecule name for example)?
There are a couple of ways to do this. One would be to pull the object
into the Python layer (cmd.get_model), change it, and then load in back in
to PyMOL (cmd.load_model). The advantage of this approach is that you can
directly manipulate the molecule, bond, and atom objects. The
disadvantage is poor performance for large molecules (probably fine for
organics though).
Other approaches vary depending on what you want to change. Titles can be
changed with "set_title", (which revealed a couple of minor bugs when I
tried it just now, arrgh). Atomic properities can be modified using
"alter". Atoms and bonds can be moved, created, or deleted using the
editor functions, but which may not yet me sufficiently documented.
No matter what you're changing, you'll need to apply changes to molecular
"states". Just use a 1-based loop over each state, and pass this integer
into the state argument (where required). Example:
dock_score = [ -24.0, -9.5, -2.0 ]
obj = "foo1" # your object name
for a in xrange(1,4):
cmd.set_title(obj,a,str(dock_score[a-1]))
etc.
Cheers,
Warren
|
|
From: Scott D. <sc...@me...> - 2002-01-13 18:46:09
|
Hi, First of all, Warren, thanks for an impressive program. A couple of questions as I begin to get into it: I'm probably missing something obvious, but I don't see it in the documentation. Is it possible to send arguments to scripts (either the .pml script or Python scripts)? It would seem like that would make them much more versatile. Second question: How would one write a Python script which went through each frame of a movie and modified some aspect of the structure (like the molecule name for example)? Thanks, Scott |
|
From: ezra p. <epe...@ME...> - 2002-01-11 20:47:03
|
As long as you update the external source package (and all
dependencies) to python 2, I have no objection. I feel that pymol is a
moving target and if you need the latest and greatest tools, use them.
My only concern is performance. If moving to python 2 has a
performance hit, then I would be concerned.
For my compilations, I treat pymol as a separate beast - which includes
python in it's own little tree - so a new version of python is no problem.
Ezra
|
|
From: DeLano, W. <wa...@su...> - 2002-01-11 17:27:26
|
A Quick PyMOL User survey:
Is anyone still depending on PyMOL's ability to support Python 1.5.2?
If I don't hear any objections, then I will only support Python versions
2.1 and above for future releases...
If you do have an objection, then please give me a roough time estimate
as when you'd be willing to migrate to version 2.1 so that I can plan
accordingly.
To avoid extraneous list traffic, please reply directly to=20
wa...@de...
or
wa...@su...
Cheers,
Warren L. DeLano, Ph.D.
mailto:wa...@su...
|