Hi Thomas,
Movie won't work since the session files are distributed and need to be
interactive. I'll try Jared's solution, if that does not work could we treat
this as an enhancement request?
Cheers,
Carsten
-----Original Message-----
From: Thomas Holder [mailto:[email protected]]
Sent: Monday, March 07, 2016 2:51 PM
To: Schubert, Carsten [JRDUS]
Cc: [email protected]
Subject: Re: [PyMOL] How to store matrix settings for individual scenes?
Hi Carsten,
What's your use case? Since movie frames can store object matrices, would
creating an actual movie solve your problem? Example of an animated
superposition:
# get sample data
fetch 1hbb, async=0
split_chains
delete 1hbb
# set up movie frames
mset 1x100
# make "align" modify the motion matrix (but without # instant storing to
current frame) set matrix_mode, 1 set movie_auto_store, 0
# store object matrices to frame 1
mview store, 1, object=*
# superpose structures and store matrices to frame 100 extra_fit mview store,
100, object=*
# optional: add scenes
color blue
scene blue, store
color red
scene red, store
mview store, 1, scene=blue
mview store, 100, scene=red
If this doesn't fit your use case, I'd go with Jared's solution of an enhanced
scene function.
Cheers,
Thomas
On 07 Mar 2016, at 12:35, Schubert, Carsten [JRDUS] <[email protected]>
wrote:
> Yeah, but not my preferred choice. Tried to do this the elegant way, but
> bumping up against Pymol's limits unless Thomas has a workaround.
>
> From: Sampson, Jared M. [mailto:[email protected]]
> Sent: Monday, March 07, 2016 12:15 PM
> To: Schubert, Carsten [JRDUS]
> Cc: [email protected]
> Subject: Re: [PyMOL] How to store matrix settings for individual scenes?
>
> Hi Carsten -
>
> I'd probably create new objects and use those for superimposition, rather
> than moving the originals. That would leave your scenes intact.
>
> Cheers,
> Jared
>
> --
> Jared Sampson
> Columbia University
>
> On Mar 7, 2016, at 12:10 PM, Schubert, Carsten [JRDUS] <[email protected]>
> wrote:
>
> Hi,
>
> I am trying to create a session file of a multimeric protein, in which each
> monomer is displayed first using the original matrix settings broken out
> into individual scenes. After that all monomers are overlayed on top of each
> other and the superposition matrices are copied and applied to the ligands,
> etc. So far so good, however once the matrices are applied this also affects
> the matrices for the scenes created previous to the overlay and matrix_copy.
> Any way I can store the matrices in each scene instead of having them applied
> globally once?
>
> Cheers,
>
> Carsten
--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]