Gaming input methods for Molecular Visualization

Prerequisite: Logitech® Gaming Software-5.10 and ControlMK-0.232

We used a gamepad from Logitech®, Rumble Gamepad F510, for Molecular Visualisation testing. We found that navigating with the gamepad is more efficient than with a keyboard and a mouse. However, it is less efficient with tasks like labeling and refining structures. For the settings, Coot, PyMOL and Jmol do not have a devoted functionality to support a gamepad. Instead, the user can map keyboard functionalities onto the gamepad controls using additional software. Proteopedia is implemented with Jmol and hence users can visualize biomolecules with a gamepad from their web browsers.

Initially, the gamepad driver must be installed. Then, we used the program ControlMK for the mapping task because it does not require any programming knowledge and it is compatible with the Windows operating system. After installing the ControlMK program, the program will show the detected gamepad in the Controllers Found pull down menu. Select the gamepad from the Active Controllers pull down menu and then click on the “>” button next to the Profiles pull down menu. Choose Add to create a new profile. The mapping table will appear under the Profiles pull down menu. Enter the setting options for ControlMK as provided in Table S2 into a profile. Then, click on the Save button to save the settings. It should be noted that the setting options provided in Table below are for controlling WinCoot, but most of the buttons in this profile can be applied to other molecular viewers as well. In the Joysticks Settings panel, the ‘Max Value’ option can be set to control the speed of the gamepad axis buttons. We recommend setting the value to within the range between 3 and 10. We found that the speed of 10 is suitable for navigating the model. However, if the user wants to select an atom or a button from the WinCoot panel, we found that the speed of 3 is more controllable.

ControlMK setting for Molecular Visualization

ControlMK pull down options to put on game pad settings for PyMOL, Coot, and Jmol.

Source: Tanramluk D, Akavipat R, Charoensawan V, Toward mobile 3D visualization for structural biologists. Mol. BioSyst., 2013, 9 (12), 2956 – 2960.

Advertisements
Posted in ControlMK, Coot, Game Pad setting, jmol, PyMOL | Leave a comment

Making quick 3D movies with PyMOL

We demonstrate how to obtain simple 3D movies of molecules by picturing at different molecular orientations.

First of all, open the PyMOL Zalman® 3D program, and then open the .pdb file, or .pse file containing your molecule of interest. After that, change the style of representation and color as you wish from the right panel. Then select the Stereo menu item from the Display menu. The Scene selection buttons can be added by selecting the Button menu item from the Scene menu. At this point, you can add a scene by moving the molecule to the final orientation for the new scene, then select the Append menu item from Scene menu. PyMOL will automatically compute the transformation necessary to create a scene depicting the orientation change. Repeat the steps of appending scenes as desired. It should be noted that rendering a movie for 3 scenes could take up to an hour on a high-end workstation. When a molecule has moved into its final orientation of each scene, additional effects can be added. For example, a molecule can be shown swaying around the axis pointing towards the viewer for 4 seconds before starting the next scene. To add such an effect, select the Program menu item under the Movie menu and then select the Nutate option under the Scene Loop. The movie can be seen by clicking on the Play button. After this step, a movie with 3D capability can be created in different ways. In this paper, we will outline 2 methods, which are easy to execute.

The first method for creating a movie is by exporting a PyMOL movie into series of PNG images, i.e. selecting “Save movie as” from the PyMOL Zalman® 3D File menu. Then, these PNG images can be stitched together to create a MOV movie using the FFmpeg-0.10.3 program through a command line interface. Below is an example of a command to create a movie file named model.mov from the files img_xxxx.png in the same directory.

ffmpeg -sameq -r 60 -i img_%04d.png -y model.mov

Alternatively, a movie can also be recorded by a screen capturing program such as SnagIt. Both methods can preserve the 3D capability as long as the user activates the Zalman® 3D stereo option without turning on the face tracking system through 3D Screen Activator. While playing this movie file, turning on the Full Screen Mode will preserve the screen resolution for the 3D display. The movie can be viewed in 3D full screen mode on a Zalman® display or on Toshiba® Qosmio F750-3D with a 3D Screen Activator. For advanced movie creation methods, please consult PyMOL Wiki.

Click here to see the Staurosporine Environment rendered in row-interleaved format for both glasses free 3D display and passive stereoscopic display.

Source: Tanramluk D, Akavipat R, Charoensawan V, Toward mobile 3D visualization for structural biologists. Mol. BioSyst., 2013, 9 (12), 2956 – 2960.

Posted in 3D movie, 3D visualisation, autostereoscopic, passive stereoscopic, PyMOL, row interleaved | Leave a comment

Biomolecular visualization software settings for glasses free 3D laptop

Autostereoscopic laptop prerequisites
In order to enable the 3D molecular visualization software, the following tools need to be installed on Windows 7 operating systems.
1.Qosmio F750 (3D model) Win7 64bit: nVidia Display Driver update Version 8.17.12.9039
2.Qosmio F750 (3D model) Win7 64bit: Super-D IC Driver update version 1.0.1613.809
3.Qosmio F750 (3D model) Win7 64bit: Toshiba® Blu-ray Disc Player 1.0.0.871
4.Qosmio F750 (3D model) Win7 64bit: Toshiba® Blu-ray Disc Player update version 1.0.1.299_A
5.BIOS version 2.00 upgrade for Qosmio F750 (for PQF70*, PQF75*)
6.Super-D X-tune for Qosmio F750
Items 1 to 6 can be downloaded from Toshiba®’s supporting website .
7.3D Screen Activator developed by Kevin Cox is required to enable switching between different screens.

PyMOL settings:
Install PyMOL. We have tested autostereoscopic capability on PyMOL 1.3 r1 (academic version). PyMOL allows the 3D interleaved stereo mode, which can be triggered through Zalman® stereo buttons included in the PyMOL version 1.3 packages. The Zalman® button needs to be activated outside the main program. After starting the program PyMOL and opening the associated file, go to the Menu bar and click on Display and then select Stereo. The picture is now available in interleaved format. Then, point the cursor to the right corner of the monitor, which has the ‘3D Screen Activator’ icon, choose the tab which is related to the PyMOL graphical window and then click on the 3D-interleaved switch.

3D Screen Activator

3D Screen Activator Setting for PyMOL with applicable margin width.

CCP4mg settings
Install CCP4mg-2.5.3. Start the CCP4mg program, select the Open menu item from the File menu and select a pdb file. Once the file is loaded, go to the menu bar, select the Zalman® Stereo menu item under the Display menu to activate the Zalman® stereo mode. Then click on the 3D icon from the 3D Screen Activator and select the 3D interleaved mode from the CCP4mg graphical windows to turn on the 3D display for the CCP4mg program.

Chimera Settings
Install Chimera-1.6.1. Start the program Chimera and open the file. After that, the Chimera stereo mode can be viewed from the Viewing Controls menu item under the Tools menu, Camera. A small window will appear. Choose the mode row stereo, right eye odd and then click save. After this stereo mode is activated, click on the 3D icon from the 3D Screen Activator. Select the Chimera Graphical windows and switch on the 3D interleaved mode.

Coot settings
Install WinCoot-0.6.2. Coot allows for working on the 3D interleaved stereo mode, which can be executed through the Zalman® stereo buttons. After WinCoot is started, go to the Open Coordinates menu item under the File menu, and then go to the Open Map menu item. Once the picture of the coordinates and the map are opened, go back to the Menu and then select the Stereo menu item under Draw menu. This will open the small window offering to display View Mode, and the radio button to activate Zalman® stereo. After the Zalman® stereo mode was activated, click on the 3D icon from the 3D Screen Activator. Select the WinCoot (coot_real.exe) graphical windows and choose the 3D interleaved mode. The coordinates and the map should become 3D and you are settled for 3D exploration of your favorite model.

Source: Tanramluk D, Akavipat R, Charoensawan V, Toward mobile 3D visualization for structural biologists. Mol. BioSyst., 2013, 9 (12), 2956 – 2960.

Posted in 3D visualisation, CCP4mg, Chimera, Coot, PyMOL | Leave a comment

On the origins of enzyme inhibitor selectivity and promiscuity

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Pymol and Coot 3D stereo on Qosmio F750 Laptop

I successfully use both Pymol and Coot 3D stereo on Qosmio through Zalman stereo option. Toshiba Qosmio F750 can support 3D stereo viewing on Coot and Pymol without the need to use 3D glasses.

If you own Qosmio F750, you need these important 3D gaming updates.
1.Qosmio F750(3D model) Win7 64bit: nVidia Display Driver update Version 8.17.12.9039 (290.39)
2.Qosmio F750(3D model) Win7 64bit: Super-D IC Driver update version 1.0.1613.809
3.Qosmio F750(3D model) Win7 64bit: Toshiba Blu-ray Disc Player update version 1.0.1.299
4.BIOS version 2.00 upgrade for Qosmio F750 (for PQF70*, PQF75*)

The most important application for this purpose is 3D screen Activator.

Glasses Free 3D stereo viewing on Toshiba Qosmio F750

With this tiny software from Kevin Cox, you can switch 3D capability on various screens. Therefore, you can use regular 2D programs at the same time while you are viewing the 3D structures except for the menu button which is a bit blurry.

As in most glasses free 3D stereo, the bonds and mesh are not perfect because of the second shadow. However, I am really satisfied with my 3D surface an ribbon movie creation. You can only watch it alone though, because the camera need to capture your eyes for the image correction.

Posted in 3D visualisation, PyMOL | Tagged , , , , , , , | 8 Comments

Making Zalman 3D stereoscopic movie with Pymol

A crash course how to make a 3D-molecular movie. I am using Zalman ZM-M240W monitor with NVIDIA Quadro FX580 graphic card. You need the Zalman monitor and polarized glasses to see the 3D stereo. Only PyMOL 1.3 and any .png to .gif converter (eg. Adobe Image Ready) are required to make animation like this.

Here is the instruction.

  1. Open PyMOL> Stereo 3D Launch > Pymol Zalman 3D
  2. Once in PyMOL, File> Open> click on “filename.pse”
  3. PyMOL> stereo on (To trigger stereoscopic function for Zalman monitor)
  4. PyMOL> mset 1 x60 (To create movies with 60 frames)
  5. PyMOL> util.mroll 1,60 (To rotate molecules 360 degrees in 60 frames)
  6. PyMOL> set ray_trace_frames=1 (To make high quality pictures)
  7. PyMOL> mpng frame_ (This command will generate multiple files in MyDocuments folder with prefix frame_xxx.png)
  8. Then use Adobe ImageReady to put them into GIF by File> Import> Folder as frames> and click on the folder that contains frame_001.png, etc.
  9. Look at the animation with the “play” button
  10. Then click File>Save Optimizes As > “filename.gif”

Showing how various distances in the kinase pockets influences the Kd. The smaller Kd,STU requires longer orange bar, shorter purple bar, and optimal cyan bar. Google-chrome compatible, please click to see in high-resolution 3D movie.

 

Figure Reference:
Tanramluk D, Schreyer A, Pitt WR, Blundell TL (2009) On the origins of enzyme inhibitor selectivity and promiscuity: a case study of protein kinase binding to staurosporine. Chem Biol Drug Des 74(1): 16-24.

 

Posted in movie, PyMOL | Tagged , , , , , , , , , | Leave a comment