Re: [PyMOL] Downloading the biological assembly from the PDB

2011-05-04 Thread Hongbo Zhu
Yes, great trick: fetch 1avd, type=pdb1 On 05/03/2011 10:22 PM, li...@cowsandmilk.net wrote: > http://www.rcsb.org/pdb/files/1avd.pdb1 > > The key is adding 1 to the suffix. Sometimes there is more than one > biological unit, in which case, there is a pdb2, pdb3, etc. > > -David > > On May 3, 2

[PyMOL] Fetching scripts

2011-05-04 Thread Michael Lerner
Hi all, I'm considering building in a mechanism for automatically fetching scripts from the PyMOL Wiki. The goal is to allow users to say fetch findSurfaceResidues, type=script findSurfaceResidues doShow=True, cutoff=0.5 The convenience benefits are obvious, especially for new users, and I think

[PyMOL] Simultaneous fading in and out of different representations

2011-05-04 Thread Rajagopalan, Senapathy
Hi Everyone, I am making a movie and want to show the transition between a cartoon and a ribbon representation smoothly (fading out cartoon and fading in ribbon) . So I tried writing a simple python script like: --- for i in range(40,60): cmd.mdo (i, "set cartoon_transparency,%f" %( 1-(60-i)/

Re: [PyMOL] Fetching scripts

2011-05-04 Thread Thomas Evangelidis
Sounds awesome! Adding an option to chose whether to load the script every time PyMol launches, or just fetch and use it once, would be even more convenient. It would resemble installation of packages from Linux repositories ;) On 4 May 2011 18:59, Michael Lerner wrote: > Hi all, > > I'm consid

[PyMOL] Simultaneous fading in and out of different representations

2011-05-04 Thread Rajagopalan, Senapathy
Hi Everyone, I am making a movie and want to show the transition between a cartoon and a ribbon representation smoothly. So I tried inserting a simple python script like: Methodist. Leading Medicine. Recognized by U.S.News & World Report as one of America's "Best Hospitals" in 13 specialties.

Re: [PyMOL] Simultaneous fading in and out of different representations

2011-05-04 Thread Thomas Holder
Hi Sena, the second argument to mdo was not correct, there you had two strings and a semicolon what must be one string and the semicolon within. Works for me like this: python cmd.mset("1x100") cmd.mdo(1, "set cartoon_transparency, 1.0; set ribbon_transparency, 0.0") for i in range(40,60):

Re: [PyMOL] Fetching scripts

2011-05-04 Thread Thomas Holder
Hi Michael, it's a good idea! A working proof-of-concept userland script should be quick to implement I guess. I think the design should go together with the planned new plugin architecture (http://pymolwiki.org/index.php/PluginArchitecture ). Cheers, Thomas Michael Lerner wrote, On 05/04/

Re: [PyMOL] Downloading the biological assembly from the PDB

2011-05-04 Thread Martin Hediger
Dear all thanks for the support, this is most helpfull. Kind regards Martin Am 04.05.11 09:38, schrieb Hongbo Zhu: > Yes, great trick: > > fetch 1avd, type=pdb1 > > On 05/03/2011 10:22 PM, li...@cowsandmilk.net wrote: >> http://www.rcsb.org/pdb/files/1avd.pdb1 >> >> The key is adding 1 to th

Re: [PyMOL] Fetching scripts

2011-05-04 Thread Pete Meyer
Hi, From a security perspective, it seems like the ideas on the wiki page are all related to securing the remote source. It might be worth considering what could be done to minimize how much pymol has to trust the remote source or the network. A few ideas: - Sandboxing would be ideal, but