Supplementary Figure 1: MDsrv command-line usage and NGL scripting example. | Nature Methods

Supplementary Figure 1: MDsrv command-line usage and NGL scripting example.

From: MDsrv: viewing and sharing molecular dynamics simulations on the web

Supplementary Figure 1

(A) Command-line usage of the 'mdsrv' tool. To open and view a MD trajectory in a browser, a structure and a trajectory file must be supplied. Optionally, a script file can be loaded to automate creation of complex molecular scenes (see B). Further arguments allow basic server configuration, such as setting port or host. (B) Example NGL script. The JavaScript-based code loads the md.gro structure file and adds the md.xtc trajectory to it. Display is limited to non-hydrogen protein atoms. A cartoon and a licorice representation are added. Finally the view is centered.

Back to article page