Skip to content

Render coarse grained molecular structures in PyMOL

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
copying.md
Notifications You must be signed in to change notification settings

mjtadema/garnish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garnish Accurately Represents a Network of Interconnected Systems in a Heartbeat

GARNISH allows a coarse grained structure to be visualized in pymol like an atomistic structure by drawing bonds and elastic network.

Disclaimer (BEWARE)

The package will be subject to a thorough rewrite in the very near future.

Screenshot

Screenshot Lysozyme 2VB1 from left to right: crystal structure in cartoon representation, licorice representation with backbone bonds drawn, elastic network visualized using line representation.

Installation

pip install git+git://github.com/mjtadema/garnish.git#egg=garnish

To access the function, in PyMOL do import garnish.

Usage

garnish [file [, selection [, gmx]]]
  • file = a tpr or topology file to extract bond information from (default: None)
  • selection = any selection to act upon (default: all)
  • gmx = gmx executable path (default: inferred by which gmx)

Without a top/tpr file, this function only adds bonds between the backbone beads so they can be nicely visualized using line or stick representation. Adding a top/tpr file provides topology information that can be used to draw side chain and elastic bonds.

Examples

To nicely show your martini system in pymol:

garnish topol.top

About

Render coarse grained molecular structures in PyMOL

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
copying.md

Stars

Watchers

Forks

Packages

No packages published

Languages