SourceForge logo
SourceForge logo
Menu

pymol-users — Collaborative support and tips for PyMOL users

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
S M T W T F S



1
(1)
2
(4)
3
(3)
4
5
6
7
(3)
8
(5)
9
10
(3)
11
12
13
(1)
14
(7)
15
(2)
16
17
18
19
20
(1)
21
(1)
22
(1)
23
(6)
24
(1)
25
26
27
28
(10)




Showing results of 49

1 2 > >> (Page 1 of 2)
From: Thomas H. <tho...@sc...> - 2017年02月28日 22:10:33
Hi João,
1QFU has a three-fold symmetry, and only one copy of each molecule is contained in the asymmetric unit.
PyMOL (on the desktop) can load the biological assembly like this:
PyMOL> set assembly, 1
PyMOL> fetch 1qfu
Hope that helps.
Cheers,
 Thomas
On 28 Feb 2017, at 16:16, João Oliveira Jr. <joa...@gm...> wrote:
> Thank you all for your time.
> 
> Someone could please explain me why some structures aren't fully displayed?
> 
> For example, in 1QFU, I just get 01 HA attached to 01 Fab antibody arm, instead of 03 HA + 03 Fabs...
> 
> Em ter, 28 de fev de 2017 às 14:25, Thomas Holder <tho...@sc...> escreveu:
> Dear João,
> 
> The Mobile (iPad) PyMOL interface is rather limited and does not expose these options, unfortunately. The only way to display a "grid_mode=on" scene is to load a PyMOL session file (.pse) which already has the setting enabled.
> 
> Cheers,
> Thomas
> 
> On 28 Feb 2017, at 11:57, João Oliveira Jr. <joa...@gm...> wrote:
> 
> > Dear Andreas
> >
> > Where do I find this typing command option?
> >
> > Em ter, 28 de fev de 2017 às 13:53, Andreas Forster <doc...@gm...> escreveu:
> > Dear João,
> >
> > type
> >
> > set grid_mode, on
> >
> > to see your models side by side. You might have to align them first. Use the command
> >
> > super model1, model2
> >
> > for that.
> >
> > All best.
> >
> >
> > Andreas
> >
> >
> > On Tue, Feb 28, 2017 at 5:27 PM, João Oliveira Jr. <joa...@gm...> wrote:
> > Hi
> >
> > Please, when using PyMOL app for iPad is that possible to set up multiple structures from diffent PDB codes at the same time?
> >
> > I'm a Immunology teacher and I'd like a slide with 04 antibodies (PDB codes: 1IGY, 1IGT, 1HZH, and 5DK3) aligned side by side to save a screenshot to Photos.
> >
> > When I download two PDB codes, they appear one inside the other...
> >
> > Is that possibe using the PyMOL app?
> >
> > Best regards!
-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
From: João O. J. <joa...@gm...> - 2017年02月28日 21:17:04
Thank you all for your time.
Someone could please explain me why some structures aren't fully displayed?
For example, in 1QFU, I just get 01 HA attached to 01 Fab antibody arm,
instead of 03 HA + 03 Fabs...
Em ter, 28 de fev de 2017 às 14:25, Thomas Holder <
tho...@sc...> escreveu:
> Dear João,
>
> The Mobile (iPad) PyMOL interface is rather limited and does not expose
> these options, unfortunately. The only way to display a "grid_mode=on"
> scene is to load a PyMOL session file (.pse) which already has the setting
> enabled.
>
> Cheers,
> Thomas
>
> On 28 Feb 2017, at 11:57, João Oliveira Jr. <joa...@gm...> wrote:
>
> > Dear Andreas
> >
> > Where do I find this typing command option?
> >
> > Em ter, 28 de fev de 2017 às 13:53, Andreas Forster <
> doc...@gm...> escreveu:
> > Dear João,
> >
> > type
> >
> > set grid_mode, on
> >
> > to see your models side by side. You might have to align them first.
> Use the command
> >
> > super model1, model2
> >
> > for that.
> >
> > All best.
> >
> >
> > Andreas
> >
> >
> > On Tue, Feb 28, 2017 at 5:27 PM, João Oliveira Jr. <joa...@gm...>
> wrote:
> > Hi
> >
> > Please, when using PyMOL app for iPad is that possible to set up
> multiple structures from diffent PDB codes at the same time?
> >
> > I'm a Immunology teacher and I'd like a slide with 04 antibodies (PDB
> codes: 1IGY, 1IGT, 1HZH, and 5DK3) aligned side by side to save a
> screenshot to Photos.
> >
> > When I download two PDB codes, they appear one inside the other...
> >
> > Is that possibe using the PyMOL app?
> >
> > Best regards!
>
> --
> Thomas Holder
> PyMOL Principal Developer
> Schrödinger, Inc.
>
>
From: Paul P. <sho...@gm...> - 2017年02月28日 18:17:30
Thomas,
Thanks. I re-wrote my blender scripts to accommodate both version, since 
it seems like other visualization programs generally output bonds as two 
cylinders. What I would love, though I'm not even sure its possible with 
vrml2, would be export some 'additional' info (like chain, resnum) that 
each object was associated with.
--p
On 02/28/2017 12:29 PM, Thomas Holder wrote:
> Hi Paul,
>
> Interesting observation. This change was not intentional, it's a side effect of a very low level change in the geometry generation. We should be able to optimize this for the next PyMOL release.
>
> Cheers,
> Thomas
>
> On 24 Feb 2017, at 12:02, Paul Paukstelis <sho...@gm...> wrote:
>
>> There seem to have been some changes in how the VRML2 output is done
>> between 1.7.X and 1.8.X, though I can't find it documented in change logs.
>>
>> In 1.7.X, vrml2 output would convert sticks to cylinders that was
>> dependent on color. If a bond were split into two colors, it would
>> output as two cylinders, but if the bond were one color it would just be
>> one longer cylinder. There was also the annoying property that no matter
>> what settings you included, vrml2 would always put extra spheres at the
>> ends of cylinders to make them smooth (even though they were inside atoms)
>>
>> In 1.8.X bond cylinders are always exported as two separate cylinders,
>> even when everything is colored the same, but the annoying spheres at
>> the end of bonds are gone (yay!).
>>
>> Unfortunately, it turns out that when working with blender scripts it
>> was much easier to make everything one color so each bond was a single
>> cylinder. I can use an older version, but I was wondering if there is
>> perhaps a new setting I haven't seen yet that might let me revert this
>> behavior.
>>
>> Thanks.
From: Thomas H. <tho...@sc...> - 2017年02月28日 17:29:17
Hi Paul,
Interesting observation. This change was not intentional, it's a side effect of a very low level change in the geometry generation. We should be able to optimize this for the next PyMOL release.
Cheers,
 Thomas
On 24 Feb 2017, at 12:02, Paul Paukstelis <sho...@gm...> wrote:
> There seem to have been some changes in how the VRML2 output is done 
> between 1.7.X and 1.8.X, though I can't find it documented in change logs.
> 
> In 1.7.X, vrml2 output would convert sticks to cylinders that was 
> dependent on color. If a bond were split into two colors, it would 
> output as two cylinders, but if the bond were one color it would just be 
> one longer cylinder. There was also the annoying property that no matter 
> what settings you included, vrml2 would always put extra spheres at the 
> ends of cylinders to make them smooth (even though they were inside atoms)
> 
> In 1.8.X bond cylinders are always exported as two separate cylinders, 
> even when everything is colored the same, but the annoying spheres at 
> the end of bonds are gone (yay!).
> 
> Unfortunately, it turns out that when working with blender scripts it 
> was much easier to make everything one color so each bond was a single 
> cylinder. I can use an older version, but I was wondering if there is 
> perhaps a new setting I haven't seen yet that might let me revert this 
> behavior.
> 
> Thanks.
-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
From: Thomas H. <tho...@sc...> - 2017年02月28日 17:25:39
Dear João,
The Mobile (iPad) PyMOL interface is rather limited and does not expose these options, unfortunately. The only way to display a "grid_mode=on" scene is to load a PyMOL session file (.pse) which already has the setting enabled.
Cheers,
 Thomas
On 28 Feb 2017, at 11:57, João Oliveira Jr. <joa...@gm...> wrote:
> Dear Andreas
> 
> Where do I find this typing command option?
> 
> Em ter, 28 de fev de 2017 às 13:53, Andreas Forster <doc...@gm...> escreveu:
> Dear João,
> 
> type
> 
> set grid_mode, on
> 
> to see your models side by side. You might have to align them first. Use the command
> 
> super model1, model2
> 
> for that.
> 
> All best.
> 
> 
> Andreas
> 
> 
> On Tue, Feb 28, 2017 at 5:27 PM, João Oliveira Jr. <joa...@gm...> wrote:
> Hi
> 
> Please, when using PyMOL app for iPad is that possible to set up multiple structures from diffent PDB codes at the same time?
> 
> I'm a Immunology teacher and I'd like a slide with 04 antibodies (PDB codes: 1IGY, 1IGT, 1HZH, and 5DK3) aligned side by side to save a screenshot to Photos.
> 
> When I download two PDB codes, they appear one inside the other...
> 
> Is that possibe using the PyMOL app?
> 
> Best regards!
-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
From: João O. J. <joa...@gm...> - 2017年02月28日 16:57:33
Dear Andreas
Where do I find this typing command option?
Em ter, 28 de fev de 2017 às 13:53, Andreas Forster <doc...@gm...>
escreveu:
> Dear João,
>
> type
>
> set grid_mode, on
>
> to see your models side by side. You might have to align them first. Use
> the command
>
> super model1, model2
>
> for that.
>
> All best.
>
>
> Andreas
>
>
> On Tue, Feb 28, 2017 at 5:27 PM, João Oliveira Jr. <joa...@gm...>
> wrote:
>
> Hi
>
> Please, when using PyMOL app for iPad is that possible to set up multiple
> structures from diffent PDB codes at the same time?
>
> I'm a Immunology teacher and I'd like a slide with 04 antibodies (PDB
> codes: 1IGY, 1IGT, 1HZH, and 5DK3) *aligned* *side by side* to save a
> screenshot to Photos.
>
> When I download two PDB codes, they appear one inside the other...
>
> Is that possibe using the PyMOL app?
>
> Best regards!
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
>
From: Andreas F. <doc...@gm...> - 2017年02月28日 16:53:48
Dear João,
type
set grid_mode, on
to see your models side by side. You might have to align them first. Use
the command
super model1, model2
for that.
All best.
Andreas
On Tue, Feb 28, 2017 at 5:27 PM, João Oliveira Jr. <joa...@gm...>
wrote:
> Hi
>
> Please, when using PyMOL app for iPad is that possible to set up multiple
> structures from diffent PDB codes at the same time?
>
> I'm a Immunology teacher and I'd like a slide with 04 antibodies (PDB
> codes: 1IGY, 1IGT, 1HZH, and 5DK3) *aligned* *side by side* to save a
> screenshot to Photos.
>
> When I download two PDB codes, they appear one inside the other...
>
> Is that possibe using the PyMOL app?
>
> Best regards!
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
From: João O. J. <joa...@gm...> - 2017年02月28日 16:27:53
Hi
Please, when using PyMOL app for iPad is that possible to set up multiple
structures from diffent PDB codes at the same time?
I'm a Immunology teacher and I'd like a slide with 04 antibodies (PDB
codes: 1IGY, 1IGT, 1HZH, and 5DK3) *aligned* *side by side* to save a
screenshot to Photos.
When I download two PDB codes, they appear one inside the other...
Is that possibe using the PyMOL app?
Best regards!
From: Thomas H. <tho...@sc...> - 2017年02月28日 15:41:19
Hi Leonhard,
Very interesting analysis. I'm wondering if this slowdown actually scales with number of objects or rather total number of atoms.
If your color scheme lookup by (object, resi) key is fast in Python (let's say you have it all in a dictionary), then you can use cmd.alter() with a single pass, which probably will be faster than cmd.color() in multiple passes. Example:
colors = {
 'obj1': {
 1: 0xFF0000,
 2: 0x333300,
 3: 0x000066,
 },
 'obj2': {
 1: 0x001234,
 2: 0x121212,
 3: 0x009900,
 },
}
cmd.alter('all', 'color = 0x40000000 | colors[model][resv]', space={'colors': colors})
cmd.recolor()
The magic number 040000000 is the cColor_TRGB_Bits mask which tells PyMOL that this is not a color index, but an RGB color.
Instead of a dictionary lookup, you may also use a callback function.
Check out these examples for alter with space argument:
https://pymolwiki.org/index.php/Iterate#.22space.22_argument
Cheers,
 Thomas
On 28 Feb 2017, at 09:34, Leonhard Heizinger <Leo...@ur...> wrote:
> Hi,
> coloring a certain residue in an object takes about 4 ms when only one
> object is loaded in PyMol:
> 
> %time cmd.color("blue", "obj1of1 and resi 1")
> CPU times: user 3.33 ms, sys: 0 ns, total: 3.33 ms
> Wall time: 4.13 ms
> 
> Performing the same operation when a lot of other objects (~300) are
> loaded results in a highly increased execution time:
> 
> %time cmd.color("blue", "obj1of300 and resi 1")
> CPU times: user 243 ms, sys: 0 ns, total: 243 ms
> Wall time: 234 ms
> 
> This is 60-fold increment compared to a PyMol Session with only one
> object loaded. All structures in this example have ~240 residues.
> 
> Consequently, coloring each residue of 300 objects in an individual
> color would take more then 4.5 hours on my machine. Of course this use
> case is pretty unlikely.
> 
> In my case I only have limited number of colors (255 colors gradient)
> which each residue could obtain. So I'm thinking about executing
> cmd.color for each color (255 times), which should be faster. However
> I'd still prefer to apply cmd.color per residue, so I don't have to
> define bulky selections per color.
> 
> Is there some way to accomplish this in a reasonable amount of time?
> Thanks!
> 
> Best,
> 
> Leonhard
-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
From: Leonhard H. <Leo...@ur...> - 2017年02月28日 14:50:24
Hi,
coloring a certain residue in an object takes about 4 ms when only one
object is loaded in PyMol:
 %time cmd.color("blue", "obj1of1 and resi 1")
 CPU times: user 3.33 ms, sys: 0 ns, total: 3.33 ms
 Wall time: 4.13 ms
Performing the same operation when a lot of other objects (~300) are
loaded results in a highly increased execution time:
 %time cmd.color("blue", "obj1of300 and resi 1")
 CPU times: user 243 ms, sys: 0 ns, total: 243 ms
 Wall time: 234 ms
This is 60-fold increment compared to a PyMol Session with only one
object loaded. All structures in this example have ~240 residues.
Consequently, coloring each residue of 300 objects in an individual
color would take more then 4.5 hours on my machine. Of course this use
case is pretty unlikely.
In my case I only have limited number of colors (255 colors gradient)
which each residue could obtain. So I'm thinking about executing
cmd.color for each color (255 times), which should be faster. However
I'd still prefer to apply cmd.color per residue, so I don't have to
define bulky selections per color.
Is there some way to accomplish this in a reasonable amount of time?
Thanks!
Best,
Leonhard
From: Paul P. <sho...@gm...> - 2017年02月24日 17:02:48
There seem to have been some changes in how the VRML2 output is done 
between 1.7.X and 1.8.X, though I can't find it documented in change logs.
In 1.7.X, vrml2 output would convert sticks to cylinders that was 
dependent on color. If a bond were split into two colors, it would 
output as two cylinders, but if the bond were one color it would just be 
one longer cylinder. There was also the annoying property that no matter 
what settings you included, vrml2 would always put extra spheres at the 
ends of cylinders to make them smooth (even though they were inside atoms)
In 1.8.X bond cylinders are always exported as two separate cylinders, 
even when everything is colored the same, but the annoying spheres at 
the end of bonds are gone (yay!).
Unfortunately, it turns out that when working with blender scripts it 
was much easier to make everything one color so each bond was a single 
cylinder. I can use an older version, but I was wondering if there is 
perhaps a new setting I haven't seen yet that might let me revert this 
behavior.
Thanks.
From: Thomas G. <tom...@gm...> - 2017年02月23日 18:19:32
Dear all,
I've written a .pml script to render volumes and save png files. The script
works fine when running it from the GUI, but for some reason when I run in
command line mode with pymol -cqr myscript.pml the image saved is blank.
It appears that when running from the command line it automatically ray
traces the image, even when I set ray = 0 in the png command, and since
volumes don't work well with ray tracing, the images end up blank.
I tried setting ray_volume=1, but that still doesn't fix the problem.
My script is below, as is the output from the command line and from the
GUI. Notice that when running from the command line there is a "Ray:
render time:" line that doesn't appear when running from the GUI.
Thanks for any insight.
Tom
*myscript.pml:*
$>cat myscript.pml:
bg white
fetch 1oky, type=2fofc, async=0
volume 1okyVol, 1oky_2fofc
set ray_volume, 1
png volume.png, ray=0
*command line output (doesn't work):*
$>pymol -cqr myscript.pml:
PyMOL>bg white
PyMOL>fetch 1oky, type=2fofc, async=0
 ObjectMapLoadBRIXFile: Loading from './1oky_2fofc.omap'.
 BRIXStrToMap: Map Size 102 x 99 x 92
 BRIXStrToMap: Range = -0.906629 to 2.095844
 BRIXStrToMap: Calculated Mean = -0.006, Sigma = 0.251
 BRIXStrToMap: Normalizing...
 Crystal: Unit Cell 124.162 124.162 47.300
 Crystal: Alpha Beta Gamma 90.000 90.000 120.000
 Crystal: RealToFrac Matrix
 Crystal: 0.0081 0.0046 -0.0000
 Crystal: 0.0000 0.0093 -0.0000
 Crystal: 0.0000 0.0000 0.0211
 Crystal: FracToReal Matrix
 Crystal: 124.1625 -62.0812 0.0000
 Crystal: 0.0000 107.5279 0.0000
 Crystal: 0.0000 0.0000 47.3000
 Crystal: Unit Cell Volume 631499.
 CmdLoad: "./1oky_2fofc.omap" loaded as "1oky_2fofc".
PyMOL>volume 1okyVol, 1oky_2fofc
 Executive: object "1okyVol" created.
 Volume: created "1okyVol"
PyMOL>set ray_volume, 1
 Setting: ray_volume set to on.
PyMOL>png volume.png, ray=0
 Ray: render time: 0.01 sec. = 242165.4 frames/hour (0.01 sec. accum.).
 ScenePNG: wrote 640x480 pixel image to file "volume.png".
*GUI output (works):*
$>pymol -qr myscript.pml:
 Detected OpenGL version 2.0 or greater. Shaders available.
 Detected GLSL version 1.20.
PyMOL>bg white
PyMOL>fetch 1oky, type=2fofc, async=0
 ObjectMapLoadBRIXFile: Loading from './1oky_2fofc.omap'.
 BRIXStrToMap: Map Size 102 x 99 x 92
 BRIXStrToMap: Range = -0.906629 to 2.095844
 BRIXStrToMap: Calculated Mean = -0.006, Sigma = 0.251
 BRIXStrToMap: Normalizing...
 Crystal: Unit Cell 124.162 124.162 47.300
 Crystal: Alpha Beta Gamma 90.000 90.000 120.000
 Crystal: RealToFrac Matrix
 Crystal: 0.0081 0.0046 -0.0000
 Crystal: 0.0000 0.0093 -0.0000
 Crystal: 0.0000 0.0000 0.0211
 Crystal: FracToReal Matrix
 Crystal: 124.1625 -62.0812 0.0000
 Crystal: 0.0000 107.5279 0.0000
 Crystal: 0.0000 0.0000 47.3000
 Crystal: Unit Cell Volume 631499.
 CmdLoad: "./1oky_2fofc.omap" loaded as "1oky_2fofc".
PyMOL>volume 1okyVol, 1oky_2fofc
 Executive: object "1okyVol" created.
 Volume: created "1okyVol"
PyMOL>set ray_volume, 1
 Setting: ray_volume set to on.
PyMOL>png volume.png, ray=0
 ScenePNG: wrote 640x480 pixel image to file "volume.png".
--
Thomas D. Grant, Ph.D.
Staff Scientist
BioXFEL Science and Technology Center
Hauptman-Woodward Medical Research Institute
700 Ellicott St.
Buffalo, NY 14203
From: Roger R. <rro...@co...> - 2017年02月23日 16:19:07
One option is to turn off shadows:
 set ray_shadow, off
Will that work for you?
_______________________________________
Roger S. Rowlett
Gordon & Dorothy Kline Professor
Department of Chemistry
Colgate University
13 Oak Drive
Hamilton, NY 13346
tel: (315)-228-7245
ofc: (315)-228-7395
fax: (315)-228-7935
email: rro...@co...
On 2/22/2017 11:46 AM, Vivien Schoonenberg wrote:
>
> Hi,
>
> I’m recoloring my protein in different shades of similar colors, but 
> to truly see the difference between them, I want to create a view in 
> pyMOL without any shadows.
>
> For this purpose, I want to make a half sphere behind the camera with 
> lights, which all emit the same amount of light. I have a hard time 
> figuring out how to set coordinates and changing the strength of the 
> lights. Do you maybe have a suggestion on how to solve this?
>
> Thanks,
>
> Vivien
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
From: <hon...@bi...> - 2017年02月23日 15:54:20
Dear Vivian
If you just want to get rid of shadows in exported ray-traced images, you can specify
set ray_shadows, 0 (https://pymolwiki.org/index.php/Ray_shadow)
set depth_cue,0 (https://pymolwiki.org/index.php/Depth_cue)
will get rid of the color modulation due to dept cueing
Annemarie
------------------------------
Message: 5
Date: 2017年2月22日 11:46:02 -0500
From: "Vivien Schoonenberg" <viv...@gm...>
Subject: [PyMOL] Getting rid of shadows
To: <pym...@li...>
Message-ID: <001201d28d2b27ドルa0696076ドルe13c20$@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
 
I'm recoloring my protein in different shades of similar colors, but to
truly see the difference between them, I want to create a view in pyMOL
without any shadows.
For this purpose, I want to make a half sphere behind the camera with
lights, which all emit the same amount of light. I have a hard time figuring
out how to set coordinates and changing the strength of the lights. Do you
maybe have a suggestion on how to solve this?
 
Thanks,
Vivien
From: <hon...@bi...> - 2017年02月23日 15:47:13
Hi Clarissa
I have just deposited the slides to my 1.5 day class on macromolecular visualization on Research Gate
https://www.researchgate.net/publication/313877004_Introduction_to_PyMOL
https://www.researchgate.net/publication/313877009_Intermediate_PyMOL
https://www.researchgate.net/publication/313877075_Advanced_PyMOL
best regards
Annemarie
Message: 1
Date: 2017年2月15日 10:44:59 -0300
From: Clarisa Alvarez <cla...@gm...>
Subject: [PyMOL] course or tutorial to make nice pictures
To: pym...@li...
Message-ID:
<CAF...@ma...>
Content-Type: text/plain; charset="utf-8"
Hi! Do anyone know any course or tutorial to make nice images with pymol. I
have already done basic tutorials but I would like to learn a little more.
Thanks in advance.
Clarisa.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
From: Vivien S. <viv...@gm...> - 2017年02月23日 15:27:46
Hi Rui,
 
Thank you!
I also already figured out that if I turn off the depth cue most of my
problem is solved as well ( “set depth_cue, 0”)
 
-Vivien
 
From: Rui Sousa [mailto:Rui...@un...] 
Sent: Thursday, February 23, 2017 10:02
To: pym...@li...
Subject: Re: [PyMOL] Getting rid of shadows
 
Hi Vivian,
I'm not sure if I fully understand your question, but if you want to have a
picture without shadows, by using "set light_count, 0"
(https://pymolwiki.org/index.php/Light_count) you should be able to achieve
this.
Rui
Le 22/02/2017 17:46, Vivien Schoonenberg a écrit :
Hi,
 
I’m recoloring my protein in different shades of similar colors, but to
truly see the difference between them, I want to create a view in pyMOL
without any shadows.
For this purpose, I want to make a half sphere behind the camera with
lights, which all emit the same amount of light. I have a hard time figuring
out how to set coordinates and changing the strength of the lights. Do you
maybe have a suggestion on how to solve this?
 
Thanks,
Vivien
----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyM...@li...
<mailto:PyM...@li...> )
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pym...@li...
 
From: Rui S. <Rui...@un...> - 2017年02月23日 15:21:34
Hi Vivian,
I'm not sure if I fully understand your question, but if you want to 
have a picture without shadows, by using "set light_count, 0" 
(https://pymolwiki.org/index.php/Light_count) you should be able to 
achieve this.
Rui
Le 22/02/2017 17:46, Vivien Schoonenberg a écrit :
>
> Hi,
>
> I’m recoloring my protein in different shades of similar colors, but 
> to truly see the difference between them, I want to create a view in 
> pyMOL without any shadows.
>
> For this purpose, I want to make a half sphere behind the camera with 
> lights, which all emit the same amount of light. I have a hard time 
> figuring out how to set coordinates and changing the strength of the 
> lights. Do you maybe have a suggestion on how to solve this?
>
> Thanks,
>
> Vivien
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
From: Vivien S. <viv...@gm...> - 2017年02月22日 16:46:11
Hi,
 
I'm recoloring my protein in different shades of similar colors, but to
truly see the difference between them, I want to create a view in pyMOL
without any shadows.
For this purpose, I want to make a half sphere behind the camera with
lights, which all emit the same amount of light. I have a hard time figuring
out how to set coordinates and changing the strength of the lights. Do you
maybe have a suggestion on how to solve this?
 
Thanks,
Vivien
From: Thomas H. <tho...@sc...> - 2017年02月21日 13:12:19
Hi Kar Weng,
This is possible with a Python script. Save the following to a file (e.g. "mae2pdb.py") and run it with PyMOL ("File > Run Script..." or use the "run" command). This will convert all .mae files from the current directory to .pdb files.
from pymol import cmd
import glob
for filename in glob.glob('*.mae'):
 cmd.load(filename)
 cmd.save(filename[:-4] + '.pdb')
 cmd.delete('*')
Hope that helps.
Cheers,
 Thomas
On 20 Feb 2017, at 01:58, Kar Weng Ng <kar...@gm...> wrote:
> Dear Sir/Madam,
> 
> I am final year School of Pharmacy student, currently working on a homology modelling project. I am relatively new to using PyMOL. I would like to convert .mae ligand structures that were produced by glide_dock into .pdb files. I understand that I could use the: load ligand_1.mae, then go to File > Save molecule command. However I have thousands of ligand files to convert. May I know if there's a way or script that could do this in a faster way?
> 
> Thank you for your time.
> 
> Best Regards,
> Ng Kar Weng
> School of Pharmacy
> Taylor's University Lakeside Campus, Malaysia
-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
From: Kar W. Ng <kar...@gm...> - 2017年02月20日 06:59:02
Dear Sir/Madam,
I am final year School of Pharmacy student, currently working on a homology
modelling project. I am relatively new to using PyMOL. I would like to
convert .mae ligand structures that were produced by glide_dock into .pdb
files. I understand that I could use the: load ligand_1.mae, then go to
File > Save molecule command. However I have thousands of ligand files to
convert. May I know if there's a way or script that could do this in a
faster way?
Thank you for your time.
Best Regards,
Ng Kar Weng
School of Pharmacy
Taylor's University Lakeside Campus, Malaysia
From: Laura F. <lau...@gm...> - 2017年02月15日 14:09:40
have you tried using the command "ray"? also if you want to improve the
side view for a Mac you can use the two finger in trackpad, I'm not sure in
Windows (maybe it's the mouse roller)
On Wed, Feb 15, 2017 at 1:44 PM, Clarisa Alvarez <cla...@gm...
> wrote:
> Hi! Do anyone know any course or tutorial to make nice images with pymol.
> I have already done basic tutorials but I would like to learn a little more.
> Thanks in advance.
> Clarisa.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
From: Clarisa A. <cla...@gm...> - 2017年02月15日 13:45:07
Hi! Do anyone know any course or tutorial to make nice images with pymol. I
have already done basic tutorials but I would like to learn a little more.
Thanks in advance.
Clarisa.
From: Tsjerk W. <ts...@gm...> - 2017年02月14日 16:56:10
Hey :)
Just as sidenote, the spectrum command takes arbitrary color schemes. Just
combine colors separated by underscores. Also fun in combination with
set_color :)
Cheers,
Tsjerk
On Feb 14, 2017 5:46 PM, "Robert Campbell" <rob...@qu...>
wrote:
Hello Peleg,
I think there are other possibilities, but my data2bfactor.py script will
do that for you. You create a file with whitespace-separated columns
(spaces and/or tabs) in which each line contains:
chain resi resn name data
(i.e. chain, residue number, residue name, atom name and value to be
applied to the B-factor column).
The number can also be applied to the occupancy column instead if you want
to keep the B-factor intact.
Then you can use the spectrum command or my color_b.py script to colour
each atom according to the data value. My color_b.py script has a few more
options than the spectrum command, including the ability to define a custom
colour gradient scheme.
You can find my scripts here:
http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/
Cheers,
Rob
On Tue, 2017年02月14日 17:12 +0100, Peleg Bar-Sapir <pe...@gm...> wrote:
> Hello,
>
> I wish to write a script that will take the molecule loaded in PyMol,
> and color the molecule according to values I will calculate using the
> molecules' parameters (in the end there will be one floating number
> per atom). Then, I would like to display that using surface mode.
>
> Could anyone direct me to a way of doing that? I saw scripts coloring
> by atom type, but I'm not sure how to apply it for a molecule already
> loaded in PyMol.
>
> Best,
>
> Peleg
--
Robert L. Campbell, Ph.D.
Adjunct Assistant Professor
Dept. of Biomedical & Molecular Sciences, Botterell Hall Rm 644
Queen's University, Kingston, ON K7L 3N6 Canada
Tel: 613-533-6821
<rob...@qu...> http://pldserver1.biochem.queensu.ca/~rlc
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyM...@li...)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pym...@li...
From: Robert C. <rob...@qu...> - 2017年02月14日 16:45:00
Hello Peleg,
I think there are other possibilities, but my data2bfactor.py script will do that for you. You create a file with whitespace-separated columns (spaces and/or tabs) in which each line contains:
chain resi resn name data 
(i.e. chain, residue number, residue name, atom name and value to be applied to the B-factor column).
The number can also be applied to the occupancy column instead if you want to keep the B-factor intact.
Then you can use the spectrum command or my color_b.py script to colour each atom according to the data value. My color_b.py script has a few more options than the spectrum command, including the ability to define a custom colour gradient scheme.
You can find my scripts here:
http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/
Cheers,
Rob
On Tue, 2017年02月14日 17:12 +0100, Peleg Bar-Sapir <pe...@gm...> wrote:
> Hello,
> 
> I wish to write a script that will take the molecule loaded in PyMol,
> and color the molecule according to values I will calculate using the
> molecules' parameters (in the end there will be one floating number
> per atom). Then, I would like to display that using surface mode.
> 
> Could anyone direct me to a way of doing that? I saw scripts coloring
> by atom type, but I'm not sure how to apply it for a molecule already
> loaded in PyMol.
> 
> Best,
> 
> Peleg
-- 
Robert L. Campbell, Ph.D.
Adjunct Assistant Professor
Dept. of Biomedical & Molecular Sciences, Botterell Hall Rm 644
Queen's University, Kingston, ON K7L 3N6 Canada
Tel: 613-533-6821
<rob...@qu...> http://pldserver1.biochem.queensu.ca/~rlc
From: Peleg Bar-S. <pe...@gm...> - 2017年02月14日 16:12:51
Hello,
I wish to write a script that will take the molecule loaded in PyMol, and
color the molecule according to values I will calculate using the
molecules' parameters (in the end there will be one floating number per
atom). Then, I would like to display that using surface mode.
Could anyone direct me to a way of doing that? I saw scripts coloring by
atom type, but I'm not sure how to apply it for a molecule already loaded
in PyMol.
Best,
Peleg

Showing results of 49

1 2 > >> (Page 1 of 2)
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /