[Chimera-users] VolumeViewer in python
Yumeng Yan
yumeng.yan at cpr.ku.dk
Wed Jul 20 08:34:56 PDT 2022
Hi all,
I tried to fit some models into a large density map using python script for chimera.
Do you know how to set the VolumeViewer module in python script to show all the surface of the density map like command line”
volume #1 style surface region all level 0.15 step 1”?
Here is my python code:
Import chimera
import FitMap
import VolumeViewer
model_list = chimera.openModels.open("test.pdb")
em_map = VolumeViewer.open_volume_file("test.mrc")[0]
“python code ” for “volume #1 style surface region all level 0.15 step 1”
model = chimera.selection.ItemizedSelection([model_list[0]])
listfit = FitMap.fitcmd.fitmap(model, em_map, resolution=5.0, metric="correlation")
Thanks and best wishes,
Yumeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20220720/43a16deb/attachment.html>
More information about the Chimera-users
mailing list