Step-by-step installation instructions
Bendix is written in tcl and works on most operating systems, including Windows, Linux and Mac. To run Bendix, please download the software, decompress the files and follow the instructions below. You may also run Bendix without installing it, but please note that you will miss out on a couple of Help-features. It is recommended that you install Bendix.
Integrate Bendix into VMD's native plugin directory (may require root/administrator priviliges)
/Computer/Programs/VMD/plugins/noarch/tcl/
By default, VMD ships with a vmdrc file that you find where you installed VMD,
e.g. /Computer/Programs/VMD/
(N.B. this is a hidden file in Linux and Mac distributions)
vmd_install_extension bendix bendix "Analysis/Bendix"
menu main on
Bendix appears under the VMD Main window tab
Extensions > Analysis > Bendix
Integrate Bendix with VMD using a path of your choice
By default, VMD ships with a vmdrc file that you find where you installed VMD,
e.g. /Computer/Programs/VMD/
(N.B. this is a hidden file in Linux and Mac distributions)
set auto_path [linsert $auto_path 0 [file join /Computer/Programs/bendix1.1]]
vmd_install_extension bendix bendix "Analysis/Bendix"
menu main on
Bendix appears under the VMD Main window tab
Extensions > Analysis > Bendix
Run Bendix from VMD's terminal
source /dir/where/you/saved/bendix1.1/bendix.tcl
bendix
N.B. You will need to do these steps every time you restart VMD, and supplied Bendix GIFs may not work.
Integrating Bendix with VMD, on the other hand, makes it permanently available under Extensions.
Technical detail
This section provides an overview of how the bendix source code is structured, and the algorithms used. For more detail, please refer to the code itself, which is commented.
Q&A
1. Check what version of VMD you're running. Bendix is written in Tcl and requires tcl 8.5 or above, which comes with the latest VMD versions (Bendix was developed using VMD 1.9). If you have an old VMD version, consider upgrading.
2. If your VMD version is up to date, VMD might not have found vmdrc, the tcl startup file that you edited to point VMD in Bendix' direction. VMD looks for vmdrc in three directories; first your current directory, then your home directory and lastly where you installed VMD, and uses the first vmdrc file that it finds. Launch VMD and type
pwd in the vmd terminal that opens by VMD startup. VMD will definitely search that directory, so try saving vmdrc there.
3. If neither of the above works, verify that the downloaded, unzipped Bendix package contains the following files: pkgIndex.tcl bendix.tcl Monsieur_Bendix_smaller_still.gif GUI-tips.gif
4. Check that the variable pck_pkdir points to the directory where you keep the bendix1.1 folder.
New! Bendix will ship as part of VMD 1.9.2, so you will soon be able to load it from VMD Main > Extensions.
1. Your protein does not feature helices!
2. Your input file does not feature the MARTINI force field. You can supply helicity for your protein using the "Helices:" field under the Helix features box, that you reach by clicking the Settings button. Either type in your own helicity, working your way through your protein, or draw bendices for the original atomistic protein or a MARTINI version, and save this helicity (under File > Save helix assignment...). Reload it for your coarse-grained protein to generate helices (under File > Load helix assignment...).
3. Your MARTINI input file has insufficient space for particle names, or particle names have become scrambled (some MD software do this). If this is the case, Bendix can't work on your file. Bendix mines your file for particle names that start with BH, BBh, BE or BBe. Check that your file contains these. If it does not, load an alternate file that does. Bendix users that use GROMACS say that any sort of MD treatment to your system, where you use the MARTINI forcefield to generate a .gro file (e.g. a very short energy minimisation) will correct the input file.
pbc wrap -all -center com -centersel "protein" and hit Enter. For several independent proteins, you will need to unwrap the trajectory coordinates prior to loading them into VMD.
The paper can be found here.