Skip to main content

Following is a list of TCL scripts that can be executed with VMD using “vmd -dispdev text -e *.tcl”. They can be used to prepare systems for NAMD simulations and analyze simulation output trajectories, notably on viral capsids.

AddTime2VMDmovie.tcl
A TCL script used to take a set of .ppm images renderred with VMD (“Extensions” -> “Visualization” -> “Movie Maker”), resize/crop the images, add time, and then generate a .gif animation.

para.dat:

Sample input file for running AddTime2VMDmovie.tcl

AddTime2VMDmovie-examples.zip

A test example for running AddTime2VMDmovie.

solvate.tcl
Generate the .psf and .pdb files from input PDB structure, solvate the structure in water and ionize the system with VMD to prepare the system for simulation.

analysis-capsid-cRadius-rmsd.tcl

1) Analyize the changes in the radii of viral capsid backbone, i.e., the average, maximum and minimum distances between atoms in the capsid backbone and the capsid center of mass, in a simulation trajectory.

2) Calculate the RMSD between viral capsid snapthots along simulation trajectory and a reference structure.

analysis-sasa.tcl
Calculate the interior, exerior and total SASA of viral capsids from a simulation trajectory.

analysis-capsid-volume.tcl
Calculate the volume of a viral capsid and that inside the capsid cavity. In case the capsid is solvated in a water box, the volume of the host medium outside of the capsid is also calculated.

analysis-capsid-waterdensity.tcl
Calculate the density of water inside viral capsid cavity and that outside of the capsid by using the volume data obtained from executing script “analysis-capsidvolume.tcl”.

analysis-56mers-TR.tcl
Analyize the rigid-body translation and rotation of capsomeres (i.e., pentamers and hexamers) in CCMV capsid.