14
Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call pymol interpreter, which acts on PyMOL specific code and propagates the rest to Similar concept in MODELLER (modeling), Chimera, Yasara, VMD (visualization) - they all have

Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Embed Size (px)

Citation preview

Page 1: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Python + PyMOL

Arbitrary Python code possible within python scripts

PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc.

Call pymol interpreter, which acts on PyMOL specific code and propagates the rest to

Similar concept in MODELLER (modeling), Chimera, Yasara, VMD (visualization) - they all have Python bindings

Page 2: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Example: Scripted alignment

Page 3: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

PyMOL: Center of Mass CalculationCommand line execution without graphic interface

With graphic interface:

Page 4: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Conservation coloring using Consurf-HSSP

Base: Extracted sequences from SwissProt with high similarity to a certain PDB Entry (HSSP)

Sequence Alignment

Goal: Reflect residue variability in each column on the structural template

Consurf-HSSP: database derivative using Maximum-Likelihood calculation to express residue entropy (round to 1-9)

Page 5: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Consurf-HSSP: Flatfile Data collection

POS: The position of the AA in the SEQRES derived sequence. SEQ: The SEQRES derived sequence in one letter code. SCORE: The normalized conservation scores. 3LATOM: The ATOM derived sequence in three letter code, including the AA's positions as they

appear in the PDB file and the chain identifier. COLOR: The color scale representing the conservation scores (9 - conserved, 1 - variable). MSA DATA: The number of aligned sequences having an amino acid (non-gapped) from the overall number of sequences at each position. RESIDUE VARIETY: The residues variety at each position of the multiple sequence alignment.

Page 6: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

ConSurf-HSSP Parser – Part I

Page 7: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

ConSurf-HSSP Parser – Part II

Page 8: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

ConSurf-HSSP Parser – Part III

Page 9: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Conservation: Result in PyMOL

Page 10: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Movie Making

Different Representations

Arbitrary actions using cmd.mdo

Nice effect: Close-up flights over particularly interesting regionsMovie control bar

Page 11: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Movie Making: Example Part I

Page 12: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Movie Making: Example Part II

Page 13: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Movie Making: Example Part III

Page 14: Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call

Movie Making: Example Part IV