11.07.2015 Views

VMD User's Guide

VMD User's Guide

VMD User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• speed n: Set animation speed to n.• style once: Set to play animation once.• style loop: Set to loop through animation continuously.• style rock: Set to play animation forward and back continuously.• styles: Return a list of the available styles.• goto start: Gotofirstframe.• goto end: Gotolastframe.• goto n: Gotoframen.• read file type filename [beg nb] [end ne ][skip ns] [waitfor nw] [molecule number]:Read data for molecule number from filename of type file type, beginning with frame nb,ending with frame ne, withastrideofns. Return the number of frames read from thisfile; if the file contains more than this number, the remaining frames will be loaded duringsubsequent <strong>VMD</strong> display updates. By default, one frame will be loaded before the commandreturns. The waitfor option allows you to specify how many frames to load before returning.The waitfor parameter nw can be any integer, or all; choosingnw less than zero is the sameas choosing all. If frames from other files are still being loaded when the animate commandis issued, these frames will be loaded first.• write file type filename [beg nb] [end ne ] [skip ns] [waitfor nw] [sel selection][molecule number]: Write data from molecule number to filename of type file type, beginningwith frame nb, ending with frame ne, withastrideofns. Return the number of frames writtento this file; if more frames have been specified than this number, the remaining frames willbe written during subsequent <strong>VMD</strong> display updates. By default, one frame will be writtenbefore the command returns. The waitfor option allows you to specify how many frames towrite before returning. The waitfor parameter nw can be any integer, or all; choosingnwless than zero is the same as choosing all. Pass the name of an atom selection as selectionto write only the selected atoms to the file.• delete [beg nb] [end ne] [skip ns] [molecule number]: Delete data for molecule number,beginning with frame nb, ending with frame ne, and keep frames with a stride of ns (a strideof -1 implies to keep all frames).8.3.2 atomselectAtom selection is the primary method to access information about the atoms in a molecule. Itworks in two steps. The first step is to create a selection given the selection text, molecule id, andoptional frame number. This is done by a function called atomselect, which returns the name ofthe new atom selection. the second step is to use the created selection to access the informationabout the atoms in the selections.• list: Return a list of all undeleted atom selections.91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!