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