Skip to content

fomightez/pymol-binder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binder

pymol-binder

PyMOL scripting able to be run via MyBinder.org.

Click a 'launch binder' badge on this page to begin an active session where PyMOL and the necessary dependencies are set to run.

This repo is meant to allow running PyMOL without the typical graphical user interface (GUI) of the desktop application, instead running headless using the commands, a.k.a., scripting. While this doesn't allow the interactive exploration common in PyMOL desktop use, many other interactions can still be performed without the GUI, such as extracting details from molecular structure files or rendering single static images or multiple image frames to compose into a movie or animation.

(If you need the typical PyMOL desktop application without requiring users to install on their own computers, see here.)

The notebooks available in the launched session demonstrate how to do things.
You can use those examples as a guide to then analyze and make images or movies/animations of molecules of interest to you.

Resources

Why do I need this?

Example Uses

Sampling different ways to apply a color palette to chains is more easily done with scripts. This allows you to consider your options for applying colors to chains.

Notebooks included

  • Getting a Structure and Producing an Image
  • Setting an Orientation
  • Dealing with PyMol colors
  • Sampling Various Combinations of Applying A Color Palette to a Complex
  • Applying a Color Combination Choice to a Complex
  • Iterating on residues of a chain to learn the secondary structure designation

Alternatives

If you need the typical PyMOL desktop application without requiring users to install on their own computers, see here

Looking for something easier than even typical desktop PyMOL? Don't want to use code to generate fancy structure images and animations/movies?
Then check out POLYVIEW-3D server. Using that webtool you an fill out forms and check toggle boxes to choose options and settings and then have the server render your image or animation using PyMOL behind-the-scenes.

Technical notes

The necessary packages to make PyMOL useable via the MyBinder.org system was worked out by Dominique Sydow, see the repo here.

Run !pymol --diagnostics in a Jupyter notebook cell to get a nice little report about PyMOL version and things like OpenGL Driver: ... PyQt5 5.12.3 (Qt 5.12.9)

Binder

About

PyMOL able to be run via MyBinder.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published