[Chimera-users] Recording movie from multiple dcd files

Eric Pettersen pett at cgl.ucsf.edu
Wed May 22 10:57:37 PDT 2019


Just to comment on the "computer hangs” part:  it is a known problem on the mac right now that entering enough coordinate files that the dialog tries to add a scrollbar causes Chimera to hang (it’s a problem with the Tk windowing toolkit).  There is a simple workaround:  before adding the files, resize the dialog large enough so that it won’t need to add a scrollbar.

—Eric

	Eric Pettersen
	UCSF Computer Graphics Lab



> On May 22, 2019, at 10:30 AM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
> 
> Hi Clara Blanes,
> If your computer hangs when you specify multiple DCD files in the dialog, I don’t think it will make any difference to use a metafile since the underlying process is the same.
> 
> Secondly, even if you successfully entered the multiple DCD files, there is no provision in the movie-recording dialog opened from the MD Movie tool to only show some fraction of the frames from each unless they are evenly spaced out (every Nth frame across the whole thing).  I.e., you couldn’t just show the first 30 frames from each DCD.  Although you can specify a range of frames to load, it is only one range per trajectory even if the trajectory includes multiple DCD files.
> 
> Instead, you could try just opening each DCD one at a time (with its PSF) file, then running a Chimera command script to 
> 
> (a) start recording (command “movie record…”)
> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/movie.html>
> 
> (b) play the frames you want in your movie (command “coordset…”)
> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/coordset.html>
> 
> (c) stop recording but do not create the movie file yet (“movie stop”)
> 
> ...close that trajectory, open next one (PSF + DCD), run script to do (a)-(c) above, repeat until done.  Or, if you need the structure from one trajectory to be matched in position to the previous trajectory, don’t close the first one until after you opened the second one and matched it onto the first.
> 
> Then put all the recorded images together into a single movie file (command “movie encode”).  Actually, you can do all kinds of fancy other things before, between, and after playing the trajectories, such as rotating the structure (command “turn”), showing title text (“2dlabels”), adding extra frames where there is no motion (“wait”), etc.
> 
> See Making Movies, movie-related commands, and example movie command files such as “ball-and-socket motion” which includes playing a morph trajectory with “coordset”:
> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html>
> 
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
> 
>> On May 22, 2019, at 3:10 AM, MARIA CLARA BLANES MIRA <c.blanes at goumh.umh.es> wrote:
>> 
>> 
>> Dear Chimera users,
>> 
>> I have a .psf and multiple .dcd files for a peptide movement and I need to make a movie combining certain frames for each dcd file.  First, I have tried to load more than one dcd file in the MD movie interface but my computer hungs. 
>> 
>> I think I should use a metafile in this situation.
>> Something like this:
>> 
>> namd(psf/dcd)
>> 
>> pam.psf
>> 
>> pam1.dcd
>> But I have all the other pam2.dcd, pam3.dcd, etc until 40,  each having 3000 frames.
>> How could I include them in the same metafile to be able to open one, record 20-30 frames, open the second, record some other frames and so on?
>> And how could I include the frames number?
>> 
>> Thank you in advance,
>> Clara Blanes
> 
> 
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20190522/ae07050c/attachment.html>


More information about the Chimera-users mailing list