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
2
3
(3)
4
(2)
5
(3)
6
(1)
7
8
(1)
9
10
(4)
11
12
13
(4)
14
15
16
17
(3)
18
(7)
19
20
(1)
21
(4)
22
23
(7)
24
(1)
25
26
(4)
27
(5)
28
(5)
29
(3)
30
31
(1)





Showing results of 58

1 2 3 > >> (Page 1 of 3)
From: Yarrow M. <ama...@uc...> - 2011年01月31日 23:10:37
Hello,
Does anyone know how to visualize the surface potentials of two molecules
simoutaneously using the APBS Tools2.1 plugin? Thanks.
-Yarrow
-- 
Yarrow Madrona
Graduate Student
Molecular Biology and Biochemistry Dept.
University of California, Irvine
Natural Sciences I, Rm 2403
Irvine, CA 92697
From: Jason V. <jas...@sc...> - 2011年01月29日 17:14:44
Greetings,
Due to increased spam attempts, I've temporarily stopped the creation
of new accounts. Once we get a handle on a better spam system, I'll
open up registration again.
If you want an account, please let me know.
I'll update the list once the new protection is installed.
Cheers,
-- Jason
-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC
(e) Jas...@sc...
(o) +1 (603) 374-7120
From: Jason V. <jas...@sc...> - 2011年01月29日 13:15:10
Hi,
Just calling tkMessagebox like that causes a Tcl error which confuses
PyMOL, causing the crash. Try this code instead:
# begin Python block
python
import tkMessageBox
tkMessageBox.showinfo("title", "msg")
# end python block of code
python end
This wraps the code as one block and sends it to the Python interpreter.
Cheers,
-- Jason
On Mon, Jan 24, 2011 at 5:11 PM, rv...@li... <rv...@li...> wrote:
> Hi to all,
> I need to open a message box dialog inside a pyMOL plug-in.
>
> When I try the code:
>
> import tkMessageBox
> tkMessageBox.showinfo(‘title’, ‘msg’)
>
> pyMOL crashes (the window doesn’t appear and pyMOL blocks).
>
> I am just entering pyMOL and python. I never used Tkinter before.
>
> Could anyone help me?
> Thanks
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC
(e) Jas...@sc...
(o) +1 (603) 374-7120
From: Jason V. <jas...@sc...> - 2011年01月29日 12:27:19
Hi David (and list),
Your PyMOL sessions are fine, it's the save syntax you're using.
Please use the following syntax when saving via the command line:
save fileName.pdb, aPyMOLSelection
It's important that the filename come first, and be immediately
followed by a comma. Please check "help save" for more information.
If you're saving a multi-state system (your PSE has two states) then
you can add the state flag as
save fileName.pdb, aPyMOLSelection, state=0
to save all states or
save fileName.pdb, aPyMOLSelection, state=2
to save state 2.
Cheers,
-- Jason
On Thu, Jan 27, 2011 at 7:59 PM, Jason Vertrees
<jas...@sc...> wrote:
> Hi David,
>
> Can you please send me the PSE? If not, do you have multiple states?
> Are you using the save command or the GUI?
>
> Cheers,
>
> -- Jason
>
> On Thu, Jan 27, 2011 at 1:50 PM, David A. Horita <dh...@wf...> wrote:
>> Hi,
>> I've apparently managed to create a pse of a protein that loads fine but
>> won't save the pdb coordinates (I get a file with END in it, and nothing
>> else).
>> Any ideas how to get the coordinates out?
>>
>> pymol 1.1b3 linux, windows (same pse has same result under both OS's)
>>
>> Thanks,
>> Dave
>>
>> -----------------------------
>> David A. Horita, Ph.D.
>> Department of Biochemistry
>> Wake Forest University School of Medicine
>> Winston-Salem, NC 27157-1016
>> Tel: 336 713-4194
>> Fax: 336 716-7671
>> email: dh...@wf...
>> web: http://www1.wfubmc.edu/biochem/faculty/Horita.htm
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> PyMOL-users mailing list (PyM...@li...)
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives: http://www.mail-archive.com/pym...@li...
>>
>
>
>
> --
> Jason Vertrees, PhD
> PyMOL Product Manager
> Schrodinger, LLC
>
> (e) Jas...@sc...
> (o) +1 (603) 374-7120
>
-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC
(e) Jas...@sc...
(o) +1 (603) 374-7120
From: Sean L. <mag...@ho...> - 2011年01月28日 14:53:50
Hi,
That was my first instinct as well and I tried that. However, the problem is that rotating the molecules gets very tricky since the molecules are now no longer in the same plane. So, if I translate one of them either towards or away from me and then rotate, that molecule will rotate away from the camera since the scene is centered around the other molecule.
Sean
 		 	 		 
From: Schubert, C. [PRDUS] <CSC...@it...> - 2011年01月28日 12:38:23
Sean,
Just a thought, but the translate command looks like as if it should be possible to selectively modify the viewmatrix on a per object basis:
 "translate" translates the atomic coordinates of atoms in a
 selection. Alternatively, is modifies the matrix associated with
 a particular object or object-state.
May be if you create two objects of interest, split states by object and then play around with the translate command you could achieve that effect.
> -----Original Message-----
> From: Jason Vertrees [mailto:jas...@sc...]
> Sent: Thursday, January 27, 2011 11:03 PM
> To: Sean Law
> Cc: pym...@li...
> Subject: Re: [PyMOL] Independent Zooming in Grid Mode
> 
> Hi Sean,
> 
> PyMOL is currently not capable of providing and "inset"-like image or
> grid-mode with independent motions. Programming this at the Python
> level wouldn't be very easy.
> 
> Cheers,
> 
> -- Jason
> 
> On Wed, Jan 26, 2011 at 9:39 AM, Sean Law <mag...@ho...> wrote:
> > Hi PyMOLers,
> >
> > I was wondering if anybody had a solution for independent when using
> > grid_mode=on. I want to be able to show, side-by-side, the same
> structure
> > where one structure is "zoomed in" on a specific part on the
> biomolecule and
> > the other object is "zoomed out" (viewing the entire molecule). And
> as I
> > turn one of the two structures, the other one turns accordingly. I
> think
> > this would be useful when trying to keep track of the orientation of
> the
> > biomolecule or for docking.
> >
> > Any suggestions would be greatly appreciated.
> >
> > Sean
> >
> >> From: pym...@li...
> >> Subject: PyMOL-users Digest, Vol 56, Issue 9
> >> To: pym...@li...
> >> Date: 2011年1月24日 22:11:17 +0000
> >>
> >> Send PyMOL-users mailing list submissions to
> >> pym...@li...
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >> https://lists.sourceforge.net/lists/listinfo/pymol-users
> >> or, via email, send a message with subject or body 'help' to
> >> pym...@li...
> >>
> >> You can reach the person managing the list at
> >> pym...@li...
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of PyMOL-users digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >> 1. Re: Faster way to find polymer chains? (Tsjerk Wassenaar)
> >> 2. Re: Faster way to find polymer chains? (Thomas Holder)
> >> 3. unable to open the file (wang_qi)
> >> 4. Re: unable to open the file (Christoph Gohlke)
> >> 5. Re: Faster way to find polymer chains? (Seth Harris)
> >> 6. dialogs in pyMOL (rv...@li...)
> >>
> >>
> >> --------------------------------------------------------------------
> --
> >>
> >> Message: 1
> >> Date: 2011年1月23日 10:48:20 +0100
> >> From: Tsjerk Wassenaar <ts...@gm...>
> >> Subject: Re: [PyMOL] Faster way to find polymer chains?
> >> To: Seth Harris <se...@gm...>
> >> Cc: pym...@li...
> >> Message-ID:
> >> <AAN...@ma...>
> >> Content-Type: text/plain; charset=ISO-8859-1
> >>
> >> Oops... That should've been:
> >>
> >> polychains = set([i.chain for i in cmd.get_model('polymer').atom])
> >>
> >> Sorry for that. :p
> >>
> >> Tsjerk
> >>
> >> On Sun, Jan 23, 2011 at 10:32 AM, Tsjerk Wassenaar
> <ts...@gm...>
> >> wrote:
> >> > Hi Seth,
> >> >
> >> > So you just want to have all unique chain identifiers for the
> >> > 'polymer' selection? Does the following give what you want?:
> >> >
> >> > polychains = set([i.chain for i in cmd.get_model('polymer')])
> >> >
> >> > Hope it helps,
> >> >
> >> > Tsjerk
> >> >
> >> > On Sun, Jan 23, 2011 at 10:04 AM, Seth Harris <se...@gm...>
> wrote:
> >> >> Hi All,
> >> >> I am script-plowing through PDB files and extracting unique chain
> >> >> identifiers only for "polymers" using PyMOL's polymer selection.
> Right
> >> >> now
> >> >> my code is a kind of brute force thing like this:
> >> >> <code>
> >> >> ??cmd.create ("justpolys","polymer")
> >> >> ??polymer_chains=[]
> >> >> ??for a in cmd.index("justpolys"):
> >> >> ?? ?q_sel = "%s`%d"%a
> >> >> ?? ?#print q_sel+":",
> >> >> ?? ?cmd.iterate(q_sel, "stored.qry_info =
> (chain,resn,resi,name)")
> >> >> ?? ?#cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
> >> >> ?? ?#print
> >> >>
> >> >>
> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_inf
> o[3]
> >> >> ?? ?# Track any unique chains by adding to polymer_chains list if
> not
> >> >> already there
> >> >> ?? ?# first reformat to get rid of flanking ' marks
> >> >> ?? ?thischain=`stored.qry_info[0]`
> >> >> ?? ?thischain=thischain.replace("'","")
> >> >> ?? ?if thischain not in polymer_chains:
> >> >> ?? ? ?polymer_chains.append(thischain)
> >> >> </code>
> >> >> This works, but is quite slow as it iterates over every atom in
> every
> >> >> pdb
> >> >> just to get out the chain so it is quite redundant.
> >> >> Is there any way to iterate in a 'chain by chain' fashion? This
> q_sel
> >> >> stuff
> >> >> is recycled from something Warren suggested for a different
> purpose
> >> >> years
> >> >> ago, and I only have a loose idea of how that is interacting with
> the
> >> >> cmd.index part. Maybe there's a way to get just the chain from
> the
> >> >> get-go
> >> >> instead of all the individual atoms? Any reminders on that one or
> >> >> better
> >> >> method suggestions?
> >> >> Thanks,
> >> >> Seth
> >> >>
> >> >>
> >> >> -----------------------------------------------------------------
> -------------
> >> >> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD
> value)!
> >> >> Finally, a world-class log management solution at an even better
> >> >> price-free!
> >> >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> >> >> February 28th, so secure your free ArcSight Logger TODAY!
> >> >> http://p.sf.net/sfu/arcsight-sfd2d
> >> >> _______________________________________________
> >> >> PyMOL-users mailing list (PyM...@li...)
> >> >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-
> users
> >> >> Archives: http://www.mail-archive.com/pymol-
> us...@li...
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Tsjerk A. Wassenaar, Ph.D.
> >> >
> >> > post-doctoral researcher
> >> > Molecular Dynamics Group
> >> > * Groningen Institute for Biomolecular Research and Biotechnology
> >> > * Zernike Institute for Advanced Materials
> >> > University of Groningen
> >> > The Netherlands
> >> >
> >>
> >>
> >>
> >> --
> >> Tsjerk A. Wassenaar, Ph.D.
> >>
> >> post-doctoral researcher
> >> Molecular Dynamics Group
> >> * Groningen Institute for Biomolecular Research and Biotechnology
> >> * Zernike Institute for Advanced Materials
> >> University of Groningen
> >> The Netherlands
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 2
> >> Date: 2011年1月23日 14:58:17 +0100
> >> From: Thomas Holder <sp...@us...>
> >> Subject: Re: [PyMOL] Faster way to find polymer chains?
> >> To: Seth Harris <se...@gm...>
> >> Cc: pym...@li...
> >> Message-ID: <4D3...@us...>
> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>
> >> Hi Seth,
> >>
> >> I think this one-liner will do the job for you:
> >>
> >> print cmd.get_chains('polymer')
> >>
> >> Cheers,
> >> Thomas
> >>
> >> Seth Harris wrote, On 01/23/11 10:04:
> >> > Hi All,
> >> >
> >> > I am script-plowing through PDB files and extracting unique chain
> >> > identifiers only for "polymers" using PyMOL's polymer selection.
> Right
> >> > now my code is a kind of brute force thing like this:
> >> > <code>
> >> >
> >> > cmd.create ("justpolys","polymer")
> >> >
> >> > polymer_chains=[]
> >> >
> >> > for a in cmd.index("justpolys"):
> >> > q_sel = "%s`%d"%a
> >> > #print q_sel+":",
> >> > cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
> >> > #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
> >> > #print
> >> >
> >> >
> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_inf
> o[3]
> >> > # Track any unique chains by adding to polymer_chains list if not
> >> > already there
> >> > # first reformat to get rid of flanking ' marks
> >> > thischain=`stored.qry_info[0]`
> >> > thischain=thischain.replace("'","")
> >> > if thischain not in polymer_chains:
> >> > polymer_chains.append(thischain)
> >> > </code>
> >> >
> >> > This works, but is quite slow as it iterates over every atom in
> every
> >> > pdb just to get out the chain so it is quite redundant.
> >> >
> >> > Is there any way to iterate in a 'chain by chain' fashion? This
> q_sel
> >> > stuff is recycled from something Warren suggested for a different
> >> > purpose years ago, and I only have a loose idea of how that is
> >> > interacting with the cmd.index part. Maybe there's a way to get
> just the
> >> > chain from the get-go instead of all the individual atoms? Any
> reminders
> >> > on that one or better method suggestions?
> >> >
> >> > Thanks,
> >> > Seth
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 3
> >> Date: 2011年1月23日 23:02:17 +0800
> >> From: "wang_qi" <wan...@gm...>
> >> Subject: [PyMOL] unable to open the file
> >> To: "pymol-users" <pym...@li...>
> >> Message-ID: <201...@gm...>
> >> Content-Type: text/plain; charset="us-ascii"
> >>
> >> Hello, everyone,
> >>
> >> I have downloaded the pymol of version 1.3. and installed it on
> windows XP
> >> successfully. But when selecting "file-open" to load my file, it
> doesn't
> >> work and displays that the file is unable to be opend. Dose anyone
> meet this
> >> problem? Ana how how can i solve it?
> >>
> >> Thanks.
> >>
> >> Qi Wang
> >>
> >> 2011年01月23日
> >>
> >>
> >>
> >> wang_qi
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >>
> >> ------------------------------
> >>
> >> Message: 4
> >> Date: 2011年1月23日 08:27:33 -0800
> >> From: Christoph Gohlke <cg...@uc...>
> >> Subject: Re: [PyMOL] unable to open the file
> >> To: pym...@li...
> >> Message-ID: <4D3...@uc...>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> You can try the attached patch. It fixes three issues:
> >>
> >> * is_string() returns False in case of unicode filenames
> >> * Python/Tk bug http://bugs.python.org/issue5712
> >> * filenames containing whitespace
> >>
> >> Christoph
> >>
> >> On 1/23/2011 7:02 AM, wang_qi wrote:
> >> > Hello, everyone,
> >> > I have downloaded the pymol of version 1.3. and installed it on
> windows
> >> > XP successfully. But when selecting "file-open" to load my file,
> it
> >> > doesn't work and displays that the file is unable to be opend.
> Dose
> >> > anyone meet this problem? Ana how how can i solve it?
> >> > Thanks.
> >> > Qi Wang
> >> > 2011年01月23日
> >> > wang_qi
> >> >
> >> >
> >>
> >>
> >> -------------- next part --------------
> >> An embedded and charset-unspecified text was scrubbed...
> >> Name: pymol-fileopen.diff
> >>
> >> ------------------------------
> >>
> >> Message: 5
> >> Date: 2011年1月23日 12:14:17 -0800
> >> From: Seth Harris <se...@gm...>
> >> Subject: Re: [PyMOL] Faster way to find polymer chains?
> >> To: Thomas Holder <sp...@us...>
> >> Cc: pym...@li...
> >> Message-ID:
> >> <AAN...@ma...>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> Thanks Thomas and Tsjerk for pointing me back to the path...from my
> >> quicksand and brambles where I knew I was off! Brilliant. Seems to
> be an
> >> unfortunate habit I have in scripting where it's like "Why use a
> simple,
> >> elegant one-liner when a mess of impenetrable hack-arounds would
> do?" I
> >> had
> >> forgotten about those get_<goodstuff> commands.
> >>
> >> Much appreciated!
> >> -Seth
> >>
> >>
> >>
> >> On Sun, Jan 23, 2011 at 5:58 AM, Thomas Holder <
> >> sp...@us...> wrote:
> >>
> >> > Hi Seth,
> >> >
> >> > I think this one-liner will do the job for you:
> >> >
> >> > print cmd.get_chains('polymer')
> >> >
> >> > Cheers,
> >> > Thomas
> >> >
> >> > Seth Harris wrote, On 01/23/11 10:04:
> >> >
> >> > Hi All,
> >> >>
> >> >> I am script-plowing through PDB files and extracting unique chain
> >> >> identifiers only for "polymers" using PyMOL's polymer selection.
> Right
> >> >> now
> >> >> my code is a kind of brute force thing like this:
> >> >> <code>
> >> >>
> >> >> cmd.create ("justpolys","polymer")
> >> >>
> >> >> polymer_chains=[]
> >> >>
> >> >> for a in cmd.index("justpolys"):
> >> >> q_sel = "%s`%d"%a
> >> >> #print q_sel+":",
> >> >> cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
> >> >> #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
> >> >> #print
> >> >>
> >> >>
> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_inf
> o[3]
> >> >> # Track any unique chains by adding to polymer_chains list if not
> >> >> already there
> >> >> # first reformat to get rid of flanking ' marks
> >> >> thischain=`stored.qry_info[0]`
> >> >> thischain=thischain.replace("'","")
> >> >> if thischain not in polymer_chains:
> >> >> polymer_chains.append(thischain)
> >> >> </code>
> >> >>
> >> >> This works, but is quite slow as it iterates over every atom in
> every
> >> >> pdb
> >> >> just to get out the chain so it is quite redundant.
> >> >> Is there any way to iterate in a 'chain by chain' fashion? This
> q_sel
> >> >> stuff is recycled from something Warren suggested for a different
> >> >> purpose
> >> >> years ago, and I only have a loose idea of how that is
> interacting with
> >> >> the
> >> >> cmd.index part. Maybe there's a way to get just the chain from
> the
> >> >> get-go
> >> >> instead of all the individual atoms? Any reminders on that one or
> >> >> better
> >> >> method suggestions?
> >> >>
> >> >> Thanks,
> >> >> Seth
> >> >>
> >> >
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >>
> >> ------------------------------
> >>
> >> Message: 6
> >> Date: 2011年1月24日 23:11:09 +0100 (CET)
> >> From: "rv...@li..." <rv...@li...>
> >> Subject: [PyMOL] dialogs in pyMOL
> >> To: pym...@li...
> >> Message-ID:
> >> <10798172.456681295907069292.JavaMail.defaultUser@defaultHost>
> >> Content-Type: text/plain;charset="UTF-8"
> >>
> >> Hi to all,
> >> I need to open a message box dialog inside a pyMOL plug-in.
> >>
> >> When I try the code:
> >>
> >> import tkMessageBox
> >> tkMessageBox.showinfo(?title?, ?msg?)
> >>
> >> pyMOL crashes (the window doesn?t appear and pyMOL blocks).
> >>
> >> I am just entering pyMOL and python. I never used Tkinter before.
> >>
> >> Could anyone help me?
> >> Thanks
> >>
> >>
> >>
> >> ------------------------------
> >>
> >>
> >> --------------------------------------------------------------------
> ----------
> >> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> >> Finally, a world-class log management solution at an even better
> >> price-free!
> >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> >> February 28th, so secure your free ArcSight Logger TODAY!
> >> http://p.sf.net/sfu/arcsight-sfd2d
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> PyMOL-users mailing list
> >> PyM...@li...
> >> https://lists.sourceforge.net/lists/listinfo/pymol-users
> >>
> >>
> >> End of PyMOL-users Digest, Vol 56, Issue 9
> >> ******************************************
> >
> > ---------------------------------------------------------------------
> ---------
> > Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> > Finally, a world-class log management solution at an even better
> price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > February 28th, so secure your free ArcSight Logger TODAY!
> > http://p.sf.net/sfu/arcsight-sfd2d
> > _______________________________________________
> > PyMOL-users mailing list (PyM...@li...)
> > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> > Archives: http://www.mail-archive.com/pymol-
> us...@li...
> >
> 
> 
> 
> --
> Jason Vertrees, PhD
> PyMOL Product Manager
> Schrodinger, LLC
> 
> (e) Jas...@sc...
> (o) +1 (603) 374-7120
> 
> -----------------------------------------------------------------------
> -------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-
> free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> 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: Jason V. <jas...@sc...> - 2011年01月28日 04:03:55
Hi Sean,
PyMOL is currently not capable of providing and "inset"-like image or
grid-mode with independent motions. Programming this at the Python
level wouldn't be very easy.
Cheers,
-- Jason
On Wed, Jan 26, 2011 at 9:39 AM, Sean Law <mag...@ho...> wrote:
> Hi PyMOLers,
>
> I was wondering if anybody had a solution for independent when using
> grid_mode=on. I want to be able to show, side-by-side, the same structure
> where one structure is "zoomed in" on a specific part on the biomolecule and
> the other object is "zoomed out" (viewing the entire molecule). And as I
> turn one of the two structures, the other one turns accordingly. I think
> this would be useful when trying to keep track of the orientation of the
> biomolecule or for docking.
>
> Any suggestions would be greatly appreciated.
>
> Sean
>
>> From: pym...@li...
>> Subject: PyMOL-users Digest, Vol 56, Issue 9
>> To: pym...@li...
>> Date: 2011年1月24日 22:11:17 +0000
>>
>> Send PyMOL-users mailing list submissions to
>> pym...@li...
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.sourceforge.net/lists/listinfo/pymol-users
>> or, via email, send a message with subject or body 'help' to
>> pym...@li...
>>
>> You can reach the person managing the list at
>> pym...@li...
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of PyMOL-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: Faster way to find polymer chains? (Tsjerk Wassenaar)
>> 2. Re: Faster way to find polymer chains? (Thomas Holder)
>> 3. unable to open the file (wang_qi)
>> 4. Re: unable to open the file (Christoph Gohlke)
>> 5. Re: Faster way to find polymer chains? (Seth Harris)
>> 6. dialogs in pyMOL (rv...@li...)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: 2011年1月23日 10:48:20 +0100
>> From: Tsjerk Wassenaar <ts...@gm...>
>> Subject: Re: [PyMOL] Faster way to find polymer chains?
>> To: Seth Harris <se...@gm...>
>> Cc: pym...@li...
>> Message-ID:
>> <AAN...@ma...>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Oops... That should've been:
>>
>> polychains = set([i.chain for i in cmd.get_model('polymer').atom])
>>
>> Sorry for that. :p
>>
>> Tsjerk
>>
>> On Sun, Jan 23, 2011 at 10:32 AM, Tsjerk Wassenaar <ts...@gm...>
>> wrote:
>> > Hi Seth,
>> >
>> > So you just want to have all unique chain identifiers for the
>> > 'polymer' selection? Does the following give what you want?:
>> >
>> > polychains = set([i.chain for i in cmd.get_model('polymer')])
>> >
>> > Hope it helps,
>> >
>> > Tsjerk
>> >
>> > On Sun, Jan 23, 2011 at 10:04 AM, Seth Harris <se...@gm...> wrote:
>> >> Hi All,
>> >> I am script-plowing through PDB files and extracting unique chain
>> >> identifiers only for "polymers" using PyMOL's polymer selection. Right
>> >> now
>> >> my code is a kind of brute force thing like this:
>> >> <code>
>> >> ??cmd.create ("justpolys","polymer")
>> >> ??polymer_chains=[]
>> >> ??for a in cmd.index("justpolys"):
>> >> ?? ?q_sel = "%s`%d"%a
>> >> ?? ?#print q_sel+":",
>> >> ?? ?cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
>> >> ?? ?#cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
>> >> ?? ?#print
>> >>
>> >> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
>> >> ?? ?# Track any unique chains by adding to polymer_chains list if not
>> >> already there
>> >> ?? ?# first reformat to get rid of flanking ' marks
>> >> ?? ?thischain=`stored.qry_info[0]`
>> >> ?? ?thischain=thischain.replace("'","")
>> >> ?? ?if thischain not in polymer_chains:
>> >> ?? ? ?polymer_chains.append(thischain)
>> >> </code>
>> >> This works, but is quite slow as it iterates over every atom in every
>> >> pdb
>> >> just to get out the chain so it is quite redundant.
>> >> Is there any way to iterate in a 'chain by chain' fashion? This q_sel
>> >> stuff
>> >> is recycled from something Warren suggested for a different purpose
>> >> years
>> >> ago, and I only have a loose idea of how that is interacting with the
>> >> cmd.index part. Maybe there's a way to get just the chain from the
>> >> get-go
>> >> instead of all the individual atoms? Any reminders on that one or
>> >> better
>> >> method suggestions?
>> >> Thanks,
>> >> Seth
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
>> >> Finally, a world-class log management solution at an even better
>> >> price-free!
>> >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> >> February 28th, so secure your free ArcSight Logger TODAY!
>> >> http://p.sf.net/sfu/arcsight-sfd2d
>> >> _______________________________________________
>> >> PyMOL-users mailing list (PyM...@li...)
>> >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> >> Archives: http://www.mail-archive.com/pym...@li...
>> >>
>> >
>> >
>> >
>> > --
>> > Tsjerk A. Wassenaar, Ph.D.
>> >
>> > post-doctoral researcher
>> > Molecular Dynamics Group
>> > * Groningen Institute for Biomolecular Research and Biotechnology
>> > * Zernike Institute for Advanced Materials
>> > University of Groningen
>> > The Netherlands
>> >
>>
>>
>>
>> --
>> Tsjerk A. Wassenaar, Ph.D.
>>
>> post-doctoral researcher
>> Molecular Dynamics Group
>> * Groningen Institute for Biomolecular Research and Biotechnology
>> * Zernike Institute for Advanced Materials
>> University of Groningen
>> The Netherlands
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: 2011年1月23日 14:58:17 +0100
>> From: Thomas Holder <sp...@us...>
>> Subject: Re: [PyMOL] Faster way to find polymer chains?
>> To: Seth Harris <se...@gm...>
>> Cc: pym...@li...
>> Message-ID: <4D3...@us...>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Hi Seth,
>>
>> I think this one-liner will do the job for you:
>>
>> print cmd.get_chains('polymer')
>>
>> Cheers,
>> Thomas
>>
>> Seth Harris wrote, On 01/23/11 10:04:
>> > Hi All,
>> >
>> > I am script-plowing through PDB files and extracting unique chain
>> > identifiers only for "polymers" using PyMOL's polymer selection. Right
>> > now my code is a kind of brute force thing like this:
>> > <code>
>> >
>> > cmd.create ("justpolys","polymer")
>> >
>> > polymer_chains=[]
>> >
>> > for a in cmd.index("justpolys"):
>> > q_sel = "%s`%d"%a
>> > #print q_sel+":",
>> > cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
>> > #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
>> > #print
>> >
>> > stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
>> > # Track any unique chains by adding to polymer_chains list if not
>> > already there
>> > # first reformat to get rid of flanking ' marks
>> > thischain=`stored.qry_info[0]`
>> > thischain=thischain.replace("'","")
>> > if thischain not in polymer_chains:
>> > polymer_chains.append(thischain)
>> > </code>
>> >
>> > This works, but is quite slow as it iterates over every atom in every
>> > pdb just to get out the chain so it is quite redundant.
>> >
>> > Is there any way to iterate in a 'chain by chain' fashion? This q_sel
>> > stuff is recycled from something Warren suggested for a different
>> > purpose years ago, and I only have a loose idea of how that is
>> > interacting with the cmd.index part. Maybe there's a way to get just the
>> > chain from the get-go instead of all the individual atoms? Any reminders
>> > on that one or better method suggestions?
>> >
>> > Thanks,
>> > Seth
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: 2011年1月23日 23:02:17 +0800
>> From: "wang_qi" <wan...@gm...>
>> Subject: [PyMOL] unable to open the file
>> To: "pymol-users" <pym...@li...>
>> Message-ID: <201...@gm...>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Hello, everyone,
>>
>> I have downloaded the pymol of version 1.3. and installed it on windows XP
>> successfully. But when selecting "file-open" to load my file, it doesn't
>> work and displays that the file is unable to be opend. Dose anyone meet this
>> problem? Ana how how can i solve it?
>>
>> Thanks.
>>
>> Qi Wang
>>
>> 2011年01月23日
>>
>>
>>
>> wang_qi
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> Message: 4
>> Date: 2011年1月23日 08:27:33 -0800
>> From: Christoph Gohlke <cg...@uc...>
>> Subject: Re: [PyMOL] unable to open the file
>> To: pym...@li...
>> Message-ID: <4D3...@uc...>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> You can try the attached patch. It fixes three issues:
>>
>> * is_string() returns False in case of unicode filenames
>> * Python/Tk bug http://bugs.python.org/issue5712
>> * filenames containing whitespace
>>
>> Christoph
>>
>> On 1/23/2011 7:02 AM, wang_qi wrote:
>> > Hello, everyone,
>> > I have downloaded the pymol of version 1.3. and installed it on windows
>> > XP successfully. But when selecting "file-open" to load my file, it
>> > doesn't work and displays that the file is unable to be opend. Dose
>> > anyone meet this problem? Ana how how can i solve it?
>> > Thanks.
>> > Qi Wang
>> > 2011年01月23日
>> > wang_qi
>> >
>> >
>>
>>
>> -------------- next part --------------
>> An embedded and charset-unspecified text was scrubbed...
>> Name: pymol-fileopen.diff
>>
>> ------------------------------
>>
>> Message: 5
>> Date: 2011年1月23日 12:14:17 -0800
>> From: Seth Harris <se...@gm...>
>> Subject: Re: [PyMOL] Faster way to find polymer chains?
>> To: Thomas Holder <sp...@us...>
>> Cc: pym...@li...
>> Message-ID:
>> <AAN...@ma...>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Thanks Thomas and Tsjerk for pointing me back to the path...from my
>> quicksand and brambles where I knew I was off! Brilliant. Seems to be an
>> unfortunate habit I have in scripting where it's like "Why use a simple,
>> elegant one-liner when a mess of impenetrable hack-arounds would do?" I
>> had
>> forgotten about those get_<goodstuff> commands.
>>
>> Much appreciated!
>> -Seth
>>
>>
>>
>> On Sun, Jan 23, 2011 at 5:58 AM, Thomas Holder <
>> sp...@us...> wrote:
>>
>> > Hi Seth,
>> >
>> > I think this one-liner will do the job for you:
>> >
>> > print cmd.get_chains('polymer')
>> >
>> > Cheers,
>> > Thomas
>> >
>> > Seth Harris wrote, On 01/23/11 10:04:
>> >
>> > Hi All,
>> >>
>> >> I am script-plowing through PDB files and extracting unique chain
>> >> identifiers only for "polymers" using PyMOL's polymer selection. Right
>> >> now
>> >> my code is a kind of brute force thing like this:
>> >> <code>
>> >>
>> >> cmd.create ("justpolys","polymer")
>> >>
>> >> polymer_chains=[]
>> >>
>> >> for a in cmd.index("justpolys"):
>> >> q_sel = "%s`%d"%a
>> >> #print q_sel+":",
>> >> cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
>> >> #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
>> >> #print
>> >>
>> >> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
>> >> # Track any unique chains by adding to polymer_chains list if not
>> >> already there
>> >> # first reformat to get rid of flanking ' marks
>> >> thischain=`stored.qry_info[0]`
>> >> thischain=thischain.replace("'","")
>> >> if thischain not in polymer_chains:
>> >> polymer_chains.append(thischain)
>> >> </code>
>> >>
>> >> This works, but is quite slow as it iterates over every atom in every
>> >> pdb
>> >> just to get out the chain so it is quite redundant.
>> >> Is there any way to iterate in a 'chain by chain' fashion? This q_sel
>> >> stuff is recycled from something Warren suggested for a different
>> >> purpose
>> >> years ago, and I only have a loose idea of how that is interacting with
>> >> the
>> >> cmd.index part. Maybe there's a way to get just the chain from the
>> >> get-go
>> >> instead of all the individual atoms? Any reminders on that one or
>> >> better
>> >> method suggestions?
>> >>
>> >> Thanks,
>> >> Seth
>> >>
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> Message: 6
>> Date: 2011年1月24日 23:11:09 +0100 (CET)
>> From: "rv...@li..." <rv...@li...>
>> Subject: [PyMOL] dialogs in pyMOL
>> To: pym...@li...
>> Message-ID:
>> <10798172.456681295907069292.JavaMail.defaultUser@defaultHost>
>> Content-Type: text/plain;charset="UTF-8"
>>
>> Hi to all,
>> I need to open a message box dialog inside a pyMOL plug-in.
>>
>> When I try the code:
>>
>> import tkMessageBox
>> tkMessageBox.showinfo(?title?, ?msg?)
>>
>> pyMOL crashes (the window doesn?t appear and pyMOL blocks).
>>
>> I am just entering pyMOL and python. I never used Tkinter before.
>>
>> Could anyone help me?
>> Thanks
>>
>>
>>
>> ------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>>
>> ------------------------------
>>
>> _______________________________________________
>> PyMOL-users mailing list
>> PyM...@li...
>> https://lists.sourceforge.net/lists/listinfo/pymol-users
>>
>>
>> End of PyMOL-users Digest, Vol 56, Issue 9
>> ******************************************
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC
(e) Jas...@sc...
(o) +1 (603) 374-7120
From: Jason V. <jas...@sc...> - 2011年01月28日 01:00:25
Hi David,
Can you please send me the PSE? If not, do you have multiple states?
Are you using the save command or the GUI?
Cheers,
-- Jason
On Thu, Jan 27, 2011 at 1:50 PM, David A. Horita <dh...@wf...> wrote:
> Hi,
> I've apparently managed to create a pse of a protein that loads fine but
> won't save the pdb coordinates (I get a file with END in it, and nothing
> else).
> Any ideas how to get the coordinates out?
>
> pymol 1.1b3 linux, windows (same pse has same result under both OS's)
>
> Thanks,
> Dave
>
> -----------------------------
> David A. Horita, Ph.D.
> Department of Biochemistry
> Wake Forest University School of Medicine
> Winston-Salem, NC 27157-1016
> Tel: 336 713-4194
> Fax: 336 716-7671
> email: dh...@wf...
> web: http://www1.wfubmc.edu/biochem/faculty/Horita.htm
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC
(e) Jas...@sc...
(o) +1 (603) 374-7120
From: Jason V. <jas...@sc...> - 2011年01月28日 01:00:01
Hi all,
I'm traveling now, so I'm a little slow on responding. But, as
Michael has said, someone (or group) has been targeting the PyMOLWiki
with massive amounts of spam. I rolled back a change today (restoring
the main page content). If you see nonsense on the PyMOLWiki, please
feel free to clear it and msg me or Michael (or any other admin) and
we can delete the user and his/her changes.
The PyMOLWiki gets 4000+ views a day and has been visited over 5
million times. If we had 2 users and 30 hits, we'd make a bad target
for spam as no one would see it.
Cheers,
-- Jason
On Thu, Jan 27, 2011 at 2:26 PM, Michael Lerner <mgl...@gm...> wrote:
> There's been a flood of spam to the wiki recently. Most of it has been
> obvious spammy pages, but someone also deleted the main page. Cute.
>
> On Thu, Jan 27, 2011 at 12:54 PM, Schubert, Carsten [PRDUS]
> <CSC...@it...> wrote:
>>
>> I am just getting a blank page when I try to access the Pymol Wiki. Do
>> other people see the same problem?
>>
>> Carsten
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> PyMOL-users mailing list (PyM...@li...)
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives: http://www.mail-archive.com/pym...@li...
>
>
>
> --
> Michael Lerner, Ph.D.
> IRTA Postdoctoral Fellow
> Laboratory of Computational Biology NIH/NHLBI
> 5635 Fishers Lane, Room T909, MSC 9314
> Rockville, MD 20852 (UPS/FedEx/Reality)
> Bethesda MD 20892-9314 (USPS)
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC
(e) Jas...@sc...
(o) +1 (603) 374-7120
From: Michael L. <mgl...@gm...> - 2011年01月27日 20:55:13
There's been a flood of spam to the wiki recently. Most of it has been
obvious spammy pages, but someone also deleted the main page. Cute.
On Thu, Jan 27, 2011 at 12:54 PM, Schubert, Carsten [PRDUS] <
CSC...@it...> wrote:
> I am just getting a blank page when I try to access the Pymol Wiki. Do
> other people see the same problem?
>
> Carsten
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
-- 
Michael Lerner, Ph.D.
IRTA Postdoctoral Fellow
Laboratory of Computational Biology NIH/NHLBI
5635 Fishers Lane, Room T909, MSC 9314
Rockville, MD 20852 (UPS/FedEx/Reality)
Bethesda MD 20892-9314 (USPS)
From: David A. H. <dh...@wf...> - 2011年01月27日 20:08:04
Hi,
I've apparently managed to create a pse of a protein that loads fine but won't save the pdb coordinates (I get a file with END in it, and nothing else).
Any ideas how to get the coordinates out?
pymol 1.1b3 linux, windows (same pse has same result under both OS's)
Thanks,
Dave
-----------------------------
David A. Horita, Ph.D.
Department of Biochemistry
Wake Forest University School of Medicine
Winston-Salem, NC 27157-1016
Tel: 336 713-4194
Fax: 336 716-7671
email: dh...@wf...<mailto:dh...@wf...>
web: http://www1.wfubmc.edu/biochem/faculty/Horita.htm<http://www1.wfubmc.edu/biochem/faculty/Horita.htm/>
From: Schubert, C. [PRDUS] <CSC...@it...> - 2011年01月27日 18:13:30
OK, works here again as well. Main Page was somehow screwy or I had a
dirty cache in my browser
 
From: Nat Echols [mailto:nat...@gm...] 
Sent: Thursday, January 27, 2011 1:09 PM
To: pym...@li...
Subject: Re: [PyMOL] Wiki down?
 
On Thu, Jan 27, 2011 at 9:54 AM, Schubert, Carsten [PRDUS]
<CSC...@it...> wrote:
I am just getting a blank page when I try to access the Pymol Wiki. Do
other people see the same problem?
Working fine for me (using Safari on a Mac). 
 
-Nat
From: Nat E. <nat...@gm...> - 2011年01月27日 18:08:44
On Thu, Jan 27, 2011 at 9:54 AM, Schubert, Carsten [PRDUS] <
CSC...@it...> wrote:
> I am just getting a blank page when I try to access the Pymol Wiki. Do
> other people see the same problem?
>
Working fine for me (using Safari on a Mac).
-Nat
From: Schubert, C. [PRDUS] <CSC...@it...> - 2011年01月27日 17:55:03
I am just getting a blank page when I try to access the Pymol Wiki. Do
other people see the same problem?
Carsten
From: Robert C. <rob...@qu...> - 2011年01月26日 15:59:50
On 2011年1月26日 10:13:25 -0500 Bradley Hintze
<bra...@ag...> wrote:
> Hi all,
> 
> I have a question regarding the changing of sphere size in a PyMOL API. When
> I use the command as presented on the PyMOLwiki, namely:
> 
> cmd.set ("sphere_scale", size=1, selection='', state=0, updates=1, log=0,
> quiet=1)
> 
> I get an error saying
> 
> set() got an unexpected keyword argument 'size'
> 
> I get the error wether 'size' is a string or an integer. What am I missing?
"size" is the wrong option, You want "value". Typing "help set" at the
PyMOL command prompt shows the following:
 cmd.set(string name, string value, string selection, int state,
 int updates, int quiet)
So you need to change your command to:
cmd.set ("sphere_scale", value=1, selection='', state=0, updates=1, log=0,
quiet=1)
Cheers,
Rob
-- 
Robert L. Campbell, Ph.D.
Senior Research Associate/Adjunct Assistant Professor 
Botterell Hall Rm 644
Department of Biochemistry, Queen's University, 
Kingston, ON K7L 3N6 Canada
Tel: 613-533-6821 Fax: 613-533-2497
<rob...@qu...> http://pldserver1.biochem.queensu.ca/~rlc
From: Tsjerk W. <ts...@gm...> - 2011年01月26日 15:49:33
Hi Bradley,
The first argument is the setting, which is a string, and the second is the
value for that setting, which is also a string, to be interpreted according
to the setting. Actually, for sphere_scale it's also not size, but a
multiplication factor to the size.
Hope it helps,
Tsjerk
On Jan 26, 2011 4:42 PM, "Bradley Hintze" <bra...@ag...>
wrote:
Hi all,
I have a question regarding the changing of sphere size in a PyMOL API. When
I use the command as presented on the PyMOLwiki, namely:
cmd.set ("sphere_scale", size=1, selection='', state=0, updates=1, log=0,
quiet=1)
I get an error saying
set() got an unexpected keyword argument 'size'
I get the error wether 'size' is a string or an integer. What am I missing?
Thanks,
Bradley
-- 
Bradley J. Hintze
Graduate Student
Duke University
School of Medicine
801-712-8799
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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: Bradley H. <bra...@ag...> - 2011年01月26日 15:41:03
Hi all,
I have a question regarding the changing of sphere size in a PyMOL API. When
I use the command as presented on the PyMOLwiki, namely:
cmd.set ("sphere_scale", size=1, selection='', state=0, updates=1, log=0,
quiet=1)
I get an error saying
set() got an unexpected keyword argument 'size'
I get the error wether 'size' is a string or an integer. What am I missing?
Thanks,
Bradley
-- 
Bradley J. Hintze
Graduate Student
Duke University
School of Medicine
801-712-8799
From: Sean L. <mag...@ho...> - 2011年01月26日 15:39:57
Hi PyMOLers,
I was wondering if anybody had a solution for independent when using grid_mode=on. I want to be able to show, side-by-side, the same structure where one structure is "zoomed in" on a specific part on the biomolecule and the other object is "zoomed out" (viewing the entire molecule). And as I turn one of the two structures, the other one turns accordingly. I think this would be useful when trying to keep track of the orientation of the biomolecule or for docking.
Any suggestions would be greatly appreciated.
Sean
> From: pym...@li...
> Subject: PyMOL-users Digest, Vol 56, Issue 9
> To: pym...@li...
> Date: 2011年1月24日 22:11:17 +0000
> 
> Send PyMOL-users mailing list submissions to
> 	pym...@li...
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/pymol-users
> or, via email, send a message with subject or body 'help' to
> 	pym...@li...
> 
> You can reach the person managing the list at
> 	pym...@li...
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyMOL-users digest..."
> 
> 
> Today's Topics:
> 
> 1. Re: Faster way to find polymer chains? (Tsjerk Wassenaar)
> 2. Re: Faster way to find polymer chains? (Thomas Holder)
> 3. unable to open the file (wang_qi)
> 4. Re: unable to open the file (Christoph Gohlke)
> 5. Re: Faster way to find polymer chains? (Seth Harris)
> 6. dialogs in pyMOL (rv...@li...)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: 2011年1月23日 10:48:20 +0100
> From: Tsjerk Wassenaar <ts...@gm...>
> Subject: Re: [PyMOL] Faster way to find polymer chains?
> To: Seth Harris <se...@gm...>
> Cc: pym...@li...
> Message-ID:
> 	<AAN...@ma...>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Oops... That should've been:
> 
> polychains = set([i.chain for i in cmd.get_model('polymer').atom])
> 
> Sorry for that. :p
> 
> Tsjerk
> 
> On Sun, Jan 23, 2011 at 10:32 AM, Tsjerk Wassenaar <ts...@gm...> wrote:
> > Hi Seth,
> >
> > So you just want to have all unique chain identifiers for the
> > 'polymer' selection? Does the following give what you want?:
> >
> > polychains = set([i.chain for i in cmd.get_model('polymer')])
> >
> > Hope it helps,
> >
> > Tsjerk
> >
> > On Sun, Jan 23, 2011 at 10:04 AM, Seth Harris <se...@gm...> wrote:
> >> Hi All,
> >> I am script-plowing through PDB files and extracting unique chain
> >> identifiers only for "polymers" using PyMOL's polymer selection. Right now
> >> my code is a kind of brute force thing like this:
> >> <code>
> >> ??cmd.create ("justpolys","polymer")
> >> ??polymer_chains=[]
> >> ??for a in cmd.index("justpolys"):
> >> ?? ?q_sel = "%s`%d"%a
> >> ?? ?#print q_sel+":",
> >> ?? ?cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
> >> ?? ?#cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
> >> ?? ?#print
> >> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
> >> ?? ?# Track any unique chains by adding to polymer_chains list if not
> >> already there
> >> ?? ?# first reformat to get rid of flanking ' marks
> >> ?? ?thischain=`stored.qry_info[0]`
> >> ?? ?thischain=thischain.replace("'","")
> >> ?? ?if thischain not in polymer_chains:
> >> ?? ? ?polymer_chains.append(thischain)
> >> </code>
> >> This works, but is quite slow as it iterates over every atom in every pdb
> >> just to get out the chain so it is quite redundant.
> >> Is there any way to iterate in a 'chain by chain' fashion? This q_sel stuff
> >> is recycled from something Warren suggested for a different purpose years
> >> ago, and I only have a loose idea of how that is interacting with the
> >> cmd.index part. Maybe there's a way to get just the chain from the get-go
> >> instead of all the individual atoms? Any reminders on that one or better
> >> method suggestions?
> >> Thanks,
> >> Seth
> >>
> >> ------------------------------------------------------------------------------
> >> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> >> Finally, a world-class log management solution at an even better price-free!
> >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> >> February 28th, so secure your free ArcSight Logger TODAY!
> >> http://p.sf.net/sfu/arcsight-sfd2d
> >> _______________________________________________
> >> PyMOL-users mailing list (PyM...@li...)
> >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> >> Archives: http://www.mail-archive.com/pym...@li...
> >>
> >
> >
> >
> > --
> > Tsjerk A. Wassenaar, Ph.D.
> >
> > post-doctoral researcher
> > Molecular Dynamics Group
> > * Groningen Institute for Biomolecular Research and Biotechnology
> > * Zernike Institute for Advanced Materials
> > University of Groningen
> > The Netherlands
> >
> 
> 
> 
> -- 
> Tsjerk A. Wassenaar, Ph.D.
> 
> post-doctoral researcher
> Molecular Dynamics Group
> * Groningen Institute for Biomolecular Research and Biotechnology
> * Zernike Institute for Advanced Materials
> University of Groningen
> The Netherlands
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: 2011年1月23日 14:58:17 +0100
> From: Thomas Holder <sp...@us...>
> Subject: Re: [PyMOL] Faster way to find polymer chains?
> To: Seth Harris <se...@gm...>
> Cc: pym...@li...
> Message-ID: <4D3...@us...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi Seth,
> 
> I think this one-liner will do the job for you:
> 
> print cmd.get_chains('polymer')
> 
> Cheers,
> Thomas
> 
> Seth Harris wrote, On 01/23/11 10:04:
> > Hi All,
> > 
> > I am script-plowing through PDB files and extracting unique chain 
> > identifiers only for "polymers" using PyMOL's polymer selection. Right 
> > now my code is a kind of brute force thing like this:
> > <code>
> > 
> > cmd.create ("justpolys","polymer")
> > 
> > polymer_chains=[]
> > 
> > for a in cmd.index("justpolys"):
> > q_sel = "%s`%d"%a
> > #print q_sel+":",
> > cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
> > #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
> > #print 
> > stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
> > # Track any unique chains by adding to polymer_chains list if not 
> > already there
> > # first reformat to get rid of flanking ' marks
> > thischain=`stored.qry_info[0]`
> > thischain=thischain.replace("'","")
> > if thischain not in polymer_chains:
> > polymer_chains.append(thischain)
> > </code>
> > 
> > This works, but is quite slow as it iterates over every atom in every 
> > pdb just to get out the chain so it is quite redundant. 
> > 
> > Is there any way to iterate in a 'chain by chain' fashion? This q_sel 
> > stuff is recycled from something Warren suggested for a different 
> > purpose years ago, and I only have a loose idea of how that is 
> > interacting with the cmd.index part. Maybe there's a way to get just the 
> > chain from the get-go instead of all the individual atoms? Any reminders 
> > on that one or better method suggestions?
> > 
> > Thanks,
> > Seth
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: 2011年1月23日 23:02:17 +0800
> From: "wang_qi" <wan...@gm...>
> Subject: [PyMOL] unable to open the file
> To: "pymol-users" <pym...@li...>
> Message-ID: <201...@gm...>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello, everyone,
> 
> I have downloaded the pymol of version 1.3. and installed it on windows XP successfully. But when selecting "file-open" to load my file, it doesn't work and displays that the file is unable to be opend. Dose anyone meet this problem? Ana how how can i solve it?
> 
> Thanks.
> 
> Qi Wang
> 
> 2011年01月23日 
> 
> 
> 
> wang_qi 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 4
> Date: 2011年1月23日 08:27:33 -0800
> From: Christoph Gohlke <cg...@uc...>
> Subject: Re: [PyMOL] unable to open the file
> To: pym...@li...
> Message-ID: <4D3...@uc...>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> You can try the attached patch. It fixes three issues:
> 
> * is_string() returns False in case of unicode filenames
> * Python/Tk bug http://bugs.python.org/issue5712
> * filenames containing whitespace
> 
> Christoph
> 
> On 1/23/2011 7:02 AM, wang_qi wrote:
> > Hello, everyone,
> > I have downloaded the pymol of version 1.3. and installed it on windows
> > XP successfully. But when selecting "file-open" to load my file, it
> > doesn't work and displays that the file is unable to be opend. Dose
> > anyone meet this problem? Ana how how can i solve it?
> > Thanks.
> > Qi Wang
> > 2011年01月23日
> > wang_qi
> >
> >
> 
> 
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: pymol-fileopen.diff
> 
> ------------------------------
> 
> Message: 5
> Date: 2011年1月23日 12:14:17 -0800
> From: Seth Harris <se...@gm...>
> Subject: Re: [PyMOL] Faster way to find polymer chains?
> To: Thomas Holder <sp...@us...>
> Cc: pym...@li...
> Message-ID:
> 	<AAN...@ma...>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Thanks Thomas and Tsjerk for pointing me back to the path...from my
> quicksand and brambles where I knew I was off! Brilliant. Seems to be an
> unfortunate habit I have in scripting where it's like "Why use a simple,
> elegant one-liner when a mess of impenetrable hack-arounds would do?" I had
> forgotten about those get_<goodstuff> commands.
> 
> Much appreciated!
> -Seth
> 
> 
> 
> On Sun, Jan 23, 2011 at 5:58 AM, Thomas Holder <
> sp...@us...> wrote:
> 
> > Hi Seth,
> >
> > I think this one-liner will do the job for you:
> >
> > print cmd.get_chains('polymer')
> >
> > Cheers,
> > Thomas
> >
> > Seth Harris wrote, On 01/23/11 10:04:
> >
> > Hi All,
> >>
> >> I am script-plowing through PDB files and extracting unique chain
> >> identifiers only for "polymers" using PyMOL's polymer selection. Right now
> >> my code is a kind of brute force thing like this:
> >> <code>
> >>
> >> cmd.create ("justpolys","polymer")
> >>
> >> polymer_chains=[]
> >>
> >> for a in cmd.index("justpolys"):
> >> q_sel = "%s`%d"%a
> >> #print q_sel+":",
> >> cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
> >> #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
> >> #print
> >> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
> >> # Track any unique chains by adding to polymer_chains list if not
> >> already there
> >> # first reformat to get rid of flanking ' marks
> >> thischain=`stored.qry_info[0]`
> >> thischain=thischain.replace("'","")
> >> if thischain not in polymer_chains:
> >> polymer_chains.append(thischain)
> >> </code>
> >>
> >> This works, but is quite slow as it iterates over every atom in every pdb
> >> just to get out the chain so it is quite redundant.
> >> Is there any way to iterate in a 'chain by chain' fashion? This q_sel
> >> stuff is recycled from something Warren suggested for a different purpose
> >> years ago, and I only have a loose idea of how that is interacting with the
> >> cmd.index part. Maybe there's a way to get just the chain from the get-go
> >> instead of all the individual atoms? Any reminders on that one or better
> >> method suggestions?
> >>
> >> Thanks,
> >> Seth
> >>
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 6
> Date: 2011年1月24日 23:11:09 +0100 (CET)
> From: "rv...@li..." <rv...@li...>
> Subject: [PyMOL] dialogs in pyMOL
> To: pym...@li...
> Message-ID:
> 	<10798172.456681295907069292.JavaMail.defaultUser@defaultHost>
> Content-Type: text/plain;charset="UTF-8"
> 
> Hi to all,
> I need to open a message box dialog inside a pyMOL plug-in.
> 
> When I try the code:
> 
> import tkMessageBox
> tkMessageBox.showinfo(?title?, ?msg?)
> 
> pyMOL crashes (the window doesn?t appear and pyMOL blocks).
> 
> I am just entering pyMOL and python. I never used Tkinter before.
> 
> Could anyone help me?
> Thanks
> 
> 
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> February 28th, so secure your free ArcSight Logger TODAY! 
> http://p.sf.net/sfu/arcsight-sfd2d
> 
> ------------------------------
> 
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> End of PyMOL-users Digest, Vol 56, Issue 9
> ******************************************
 		 	 		 
From: <rv...@li...> - 2011年01月24日 22:11:16
Hi to all,
I need to open a message box dialog inside a pyMOL plug-in.
When I try the code:
import tkMessageBox
tkMessageBox.showinfo(‘title’, ‘msg’)
pyMOL crashes (the window doesn’t appear and pyMOL blocks).
I am just entering pyMOL and python. I never used Tkinter before.
Could anyone help me?
Thanks
From: Seth H. <se...@gm...> - 2011年01月23日 20:14:25
Thanks Thomas and Tsjerk for pointing me back to the path...from my
quicksand and brambles where I knew I was off! Brilliant. Seems to be an
unfortunate habit I have in scripting where it's like "Why use a simple,
elegant one-liner when a mess of impenetrable hack-arounds would do?" I had
forgotten about those get_<goodstuff> commands.
Much appreciated!
-Seth
On Sun, Jan 23, 2011 at 5:58 AM, Thomas Holder <
sp...@us...> wrote:
> Hi Seth,
>
> I think this one-liner will do the job for you:
>
> print cmd.get_chains('polymer')
>
> Cheers,
> Thomas
>
> Seth Harris wrote, On 01/23/11 10:04:
>
> Hi All,
>>
>> I am script-plowing through PDB files and extracting unique chain
>> identifiers only for "polymers" using PyMOL's polymer selection. Right now
>> my code is a kind of brute force thing like this:
>> <code>
>>
>> cmd.create ("justpolys","polymer")
>>
>> polymer_chains=[]
>>
>> for a in cmd.index("justpolys"):
>> q_sel = "%s`%d"%a
>> #print q_sel+":",
>> cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
>> #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
>> #print
>> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
>> # Track any unique chains by adding to polymer_chains list if not
>> already there
>> # first reformat to get rid of flanking ' marks
>> thischain=`stored.qry_info[0]`
>> thischain=thischain.replace("'","")
>> if thischain not in polymer_chains:
>> polymer_chains.append(thischain)
>> </code>
>>
>> This works, but is quite slow as it iterates over every atom in every pdb
>> just to get out the chain so it is quite redundant.
>> Is there any way to iterate in a 'chain by chain' fashion? This q_sel
>> stuff is recycled from something Warren suggested for a different purpose
>> years ago, and I only have a loose idea of how that is interacting with the
>> cmd.index part. Maybe there's a way to get just the chain from the get-go
>> instead of all the individual atoms? Any reminders on that one or better
>> method suggestions?
>>
>> Thanks,
>> Seth
>>
>
From: Christoph G. <cg...@uc...> - 2011年01月23日 16:27:46
Attachments: pymol-fileopen.diff
You can try the attached patch. It fixes three issues:
* is_string() returns False in case of unicode filenames
* Python/Tk bug http://bugs.python.org/issue5712
* filenames containing whitespace
Christoph
On 1/23/2011 7:02 AM, wang_qi wrote:
> Hello, everyone,
> I have downloaded the pymol of version 1.3. and installed it on windows
> XP successfully. But when selecting "file-open" to load my file, it
> doesn't work and displays that the file is unable to be opend. Dose
> anyone meet this problem? Ana how how can i solve it?
> Thanks.
> Qi Wang
> 2011年01月23日
> wang_qi
>
>
From: wang_qi <wan...@gm...> - 2011年01月23日 15:02:30
Hello, everyone,
I have downloaded the pymol of version 1.3. and installed it on windows XP successfully. But when selecting "file-open" to load my file, it doesn't work and displays that the file is unable to be opend. Dose anyone meet this problem? Ana how how can i solve it?
Thanks.
Qi Wang
2011年01月23日 
wang_qi 
From: Thomas H. <sp...@us...> - 2011年01月23日 14:25:51
Hi Seth,
I think this one-liner will do the job for you:
print cmd.get_chains('polymer')
Cheers,
 Thomas
Seth Harris wrote, On 01/23/11 10:04:
> Hi All,
> 
> I am script-plowing through PDB files and extracting unique chain 
> identifiers only for "polymers" using PyMOL's polymer selection. Right 
> now my code is a kind of brute force thing like this:
> <code>
> 
> cmd.create ("justpolys","polymer")
> 
> polymer_chains=[]
> 
> for a in cmd.index("justpolys"):
> q_sel = "%s`%d"%a
> #print q_sel+":",
> cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
> #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
> #print 
> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
> # Track any unique chains by adding to polymer_chains list if not 
> already there
> # first reformat to get rid of flanking ' marks
> thischain=`stored.qry_info[0]`
> thischain=thischain.replace("'","")
> if thischain not in polymer_chains:
> polymer_chains.append(thischain)
> </code>
> 
> This works, but is quite slow as it iterates over every atom in every 
> pdb just to get out the chain so it is quite redundant. 
> 
> Is there any way to iterate in a 'chain by chain' fashion? This q_sel 
> stuff is recycled from something Warren suggested for a different 
> purpose years ago, and I only have a loose idea of how that is 
> interacting with the cmd.index part. Maybe there's a way to get just the 
> chain from the get-go instead of all the individual atoms? Any reminders 
> on that one or better method suggestions?
> 
> Thanks,
> Seth
From: Tsjerk W. <ts...@gm...> - 2011年01月23日 09:48:26
Oops... That should've been:
polychains = set([i.chain for i in cmd.get_model('polymer').atom])
Sorry for that. :p
Tsjerk
On Sun, Jan 23, 2011 at 10:32 AM, Tsjerk Wassenaar <ts...@gm...> wrote:
> Hi Seth,
>
> So you just want to have all unique chain identifiers for the
> 'polymer' selection? Does the following give what you want?:
>
> polychains = set([i.chain for i in cmd.get_model('polymer')])
>
> Hope it helps,
>
> Tsjerk
>
> On Sun, Jan 23, 2011 at 10:04 AM, Seth Harris <se...@gm...> wrote:
>> Hi All,
>> I am script-plowing through PDB files and extracting unique chain
>> identifiers only for "polymers" using PyMOL's polymer selection. Right now
>> my code is a kind of brute force thing like this:
>> <code>
>>  cmd.create ("justpolys","polymer")
>>  polymer_chains=[]
>>  for a in cmd.index("justpolys"):
>>   q_sel = "%s`%d"%a
>>   #print q_sel+":",
>>   cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
>>   #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
>>   #print
>> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
>>   # Track any unique chains by adding to polymer_chains list if not
>> already there
>>   # first reformat to get rid of flanking ' marks
>>   thischain=`stored.qry_info[0]`
>>   thischain=thischain.replace("'","")
>>   if thischain not in polymer_chains:
>>    polymer_chains.append(thischain)
>> </code>
>> This works, but is quite slow as it iterates over every atom in every pdb
>> just to get out the chain so it is quite redundant.
>> Is there any way to iterate in a 'chain by chain' fashion? This q_sel stuff
>> is recycled from something Warren suggested for a different purpose years
>> ago, and I only have a loose idea of how that is interacting with the
>> cmd.index part. Maybe there's a way to get just the chain from the get-go
>> instead of all the individual atoms? Any reminders on that one or better
>> method suggestions?
>> Thanks,
>> Seth
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> PyMOL-users mailing list (PyM...@li...)
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives: http://www.mail-archive.com/pym...@li...
>>
>
>
>
> --
> Tsjerk A. Wassenaar, Ph.D.
>
> post-doctoral researcher
> Molecular Dynamics Group
> * Groningen Institute for Biomolecular Research and Biotechnology
> * Zernike Institute for Advanced Materials
> University of Groningen
> The Netherlands
>
-- 
Tsjerk A. Wassenaar, Ph.D.
post-doctoral researcher
Molecular Dynamics Group
* Groningen Institute for Biomolecular Research and Biotechnology
* Zernike Institute for Advanced Materials
University of Groningen
The Netherlands
From: Tsjerk W. <ts...@gm...> - 2011年01月23日 09:33:22
Hi Seth,
So you just want to have all unique chain identifiers for the
'polymer' selection? Does the following give what you want?:
polychains = set([i.chain for i in cmd.get_model('polymer')])
Hope it helps,
Tsjerk
On Sun, Jan 23, 2011 at 10:04 AM, Seth Harris <se...@gm...> wrote:
> Hi All,
> I am script-plowing through PDB files and extracting unique chain
> identifiers only for "polymers" using PyMOL's polymer selection. Right now
> my code is a kind of brute force thing like this:
> <code>
>  cmd.create ("justpolys","polymer")
>  polymer_chains=[]
>  for a in cmd.index("justpolys"):
>   q_sel = "%s`%d"%a
>   #print q_sel+":",
>   cmd.iterate(q_sel, "stored.qry_info = (chain,resn,resi,name)")
>   #cmd.iterate_state(1,q_sel, "stored.qry_xyz = (x,y,z)")
>   #print
> stored.qry_info[0],stored.qry_info[1],stored.qry_info[2],stored.qry_info[3]
>   # Track any unique chains by adding to polymer_chains list if not
> already there
>   # first reformat to get rid of flanking ' marks
>   thischain=`stored.qry_info[0]`
>   thischain=thischain.replace("'","")
>   if thischain not in polymer_chains:
>    polymer_chains.append(thischain)
> </code>
> This works, but is quite slow as it iterates over every atom in every pdb
> just to get out the chain so it is quite redundant.
> Is there any way to iterate in a 'chain by chain' fashion? This q_sel stuff
> is recycled from something Warren suggested for a different purpose years
> ago, and I only have a loose idea of how that is interacting with the
> cmd.index part. Maybe there's a way to get just the chain from the get-go
> instead of all the individual atoms? Any reminders on that one or better
> method suggestions?
> Thanks,
> Seth
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
-- 
Tsjerk A. Wassenaar, Ph.D.
post-doctoral researcher
Molecular Dynamics Group
* Groningen Institute for Biomolecular Research and Biotechnology
* Zernike Institute for Advanced Materials
University of Groningen
The Netherlands
1 message has been excluded from this view by a project administrator.

Showing results of 58

1 2 3 > >> (Page 1 of 3)
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 によって変換されたページ (->オリジナル) /