This is a read-only mirror of pymolwiki.org

Difference between revisions of "User:Hongbo zhu"

From PyMOL Wiki
Jump to navigation Jump to search
m (9 revisions)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
Hongbo Zhu
 
Hongbo Zhu
  
Postdoctoral Researcher @ Structural Bioinformatics Group, BIOTEC, TU-Dresden, Germany.
+
Postdoctoral Researcher @ MPI for Developmental Biology, Tuebingen, Germany.
  
 
[http://www.pymolwiki.org/index.php/MSMS MSMS plugin for PyMOL]
 
[http://www.pymolwiki.org/index.php/MSMS MSMS plugin for PyMOL]
Line 7: Line 7:
 
[http://www.pymolwiki.org/index.php/DSSP DSSP & Stride plugin for PyMOL]
 
[http://www.pymolwiki.org/index.php/DSSP DSSP & Stride plugin for PyMOL]
  
hongbo(d o t)zhu(d o t)cn(a t)googlemail(d o t)com
+
[[FetchLocal]]
 +
 
 +
hongbo(d o t)zhu(d o t)cn(a t)gmail
  
 
<source lang="python">
 
<source lang="python">
Line 32: Line 34:
  
  
 +
cmd.extend("fetch_ac", fetch_ac)
 
cmd.extend("load_ac", load_ac)
 
cmd.extend("load_ac", load_ac)
cmd.extend("fetch_ac", fetch_ac)
 
 
</source>
 
</source>

Latest revision as of 01:20, 28 March 2014

Hongbo Zhu

Postdoctoral Researcher @ MPI for Developmental Biology, Tuebingen, Germany.

MSMS plugin for PyMOL

DSSP & Stride plugin for PyMOL

FetchLocal

hongbo(d o t)zhu(d o t)cn(a t)gmail

""" To quickly check the structure of a protein in PyMOL, 
    you may just fetch/load it and display it as cartoon. 
    fetch_ac: Fetch as cartoon, 
    load_ac:  Load as cartoon.
"""
from pymol import cmd

def fetch_ac(*args, **kwargs):
    """
        Fetch structure and display it as cartoon. 
    """
    cmd.fetch(*args, **kwargs)
    cmd.show_as('cartoon')

def load_ac(*args, **kwargs):
    """
        Load structure as cartoon. 
    """
    cmd.load(*args, **kwargs)
    cmd.show_as('cartoon')


cmd.extend("fetch_ac", fetch_ac)
cmd.extend("load_ac", load_ac)