Skip to content

campagnola/protein-viewer

 
 

Repository files navigation

protein-viewer

Using matplotlib and Panda3D for viewing proteins through their PDB archives.

This project has as an objective using different libraries for viewing 3D protein models.

The libraries are:

· Mathematical library, matplotlib

· Videogame engine library, Panda3D

MATPLOTLIB

Execute the command python matviewer.py data/1yd9.pdb "mode"

4 possible modes: cpk, aminoacid, backbone and dssp

PANDA3D

Execute the command python pandaviewer.py data/1yd9.pdb for the example

Commands are:

1: CPK

2: Aminoacid type

3: Backbone

4: DSSP

c: chain cloud

Left arrow key: Horizontal rotation

Up arrow key: Vertical rotation

Down arrow key: Stop rotation

(Camera is a bit wonky)

Left click for panning

Middle click for rotation 1

Right click for zooming

Middle + Right click for rotation 2

Escape: Exit

About

Using matplotlib and Panda3D for viewing proteins through their PDB archives

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 66.8%
  • Python 33.2%