[Chimera-users] Multiscale models command
ihholmes at gmail.com
Tue Dec 20 15:39:52 PST 2016
Hello Chimera gurus,
I am using multiscale models to view a virus capsid (PDB 2QA0) in Chimera.
I would like to create a Python script to render the capsid as a multiscale
model and then highlight (i.e. select) certain residues. However, I can't
figure out the command-line syntax to create a multiscale model. The docs
also suggest the Midas Python module as an alternative way of scripting
Chimera in Python, but I haven't yet found that module.
Here is the rough order of what I am doing from the graphical user
Open model 2QA0
Tools menu -> Higher-order structure -> Multiscale Models panel
(The following actions are all in the Multiscale Models panel)
Click "Make models" button in "Models from molecules and matrices" section
Click "All" button in "Select chains:" section
Click "Hide" button in "Act on selected chains" section, "Selected chains"
Click "All" button in "Select chains:" section (again)
Select "Ribbon" from "Style" menu in "Act on selected chains" section
(then back to the main view)
Zoom out (with mouse wheel)
Favorites menu -> Command Line
Type "select :10,20,30" (amino acids I want to highlight)
Here is what I've got so far in terms of equivalent Python code:
from chimera import runCommand as rc
# make multiscale model here?
rc("select :10,20,30") # select some residues
Your help would be appreciated - thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users