Hi Sean,

You're right.  The code should be:

load structure.pdb

#load trajectory with 212 states
load structure.dcd

#Use half the number of frames and hope that states get skipped by PyMOL
mset 1 x106

mview store, 1, state=1
mview store, 106, state=212

Interestingly, PyMOL doesn't like the user assigning the object state
that way, it prefers the global state set.  I'll find out why.

Cheers,

-- Jason


On Sat, Oct 9, 2010 at 12:27 AM, Sean Law <magic...@hotmail.com> wrote:
> Jason,
>
> Being a complete novice when it comes to movie making, I decided to finally
> take the plunge.  First, I tested your commands on the prototypical 1nmr
> file which worked great with the commands that you had described.  However,
> when I tested the same commands on a 212 state DCD file the results were
> mixed.
>
> What worked:
>
> load structure.pdb
>
> #load trajectory with 212 states
> load structure.dcd
>
> mset 1 x212
>
> mview store, 1, object=structure, state=1
> mview store, 212, object=structure, state=212
>
> This produced the movie that I had expected (though, it is not different
> from simply issuing the first two commands pressing play)
>
> What didn't work:
>
> load structure.pdb
>
> #load trajectory with 212 states
> load structure.dcd
>
> #Use half the number of frames and hope that states get skipped by PyMOL
> mset 1 x106
>
> mview store, 1, object=structure, state=1
> mview store, 106, object=structure, state=212
>
>
> When I play this movie, the first frame corresponds to the first state but
> all other frames display a blank image.  Perhaps I'm misunderstanding the
> commands here?  Any clarification would be greatly appreciated!
>
> Sean
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to