<div dir="auto">Thank you so much for your help! It worked! </div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Shiqing</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 29, 2021 at 5:30 PM Tom Goddard <<a href="mailto:goddard@sonic.net">goddard@sonic.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Shiqing,<br>
<br>
If you want to scale your marker positions you can do it with a bit of Python typed in the ChimeraX Python shell, menu Tools / General / Shell. I selected my markers "select #2" then scaled their coordinates by a factor of 1.5 with<br>
<br>
from chimerax.markers import selected_markers<br>
m = selected_markers(session)<br>
m.coords = 1.5 * m.coords<br>
<br>
Tom<br>
<br>
<br>
> On Jun 29, 2021, at 5:06 PM, Elaine Meng via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank">chimerax-users@cgl.ucsf.edu</a>> wrote:<br>
> <br>
> Hi Shiqing,<br>
> Sorry no, there are no "voxels" in an atomic structure. The scale of an atomic structure is well established, with bond lengths and distances in Angstroms. So whenever there is a scale mismatch between atomic structure and map, it's essentially always the map model that needs a different voxel size. Markers are implemented as atomic structures, so even though they aren't "real" atoms, there is no built-in function to change their scale. <br>
> <br>
> If you color the map before you change its voxel size, do you still need the markers? <br>
> <br>
> If so, you would probably need to write your own script to calculate new marker coordinates to match the new map dimensions, or simply start over with adding the markers to the map after you change its (the map's) voxel size.<br>
> <br>
> I hope this makes sense. Sorry for the difficulties,<br>
> Elaine<br>
> -----<br>
> Elaine C. Meng, Ph.D. <br>
> UCSF Chimera(X) team<br>
> Department of Pharmaceutical Chemistry<br>
> University of California, San Francisco<br>
> <br>
>> On Jun 29, 2021, at 4:42 PM, SHIQING LIAO via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank">chimerax-users@cgl.ucsf.edu</a>> wrote:<br>
>> <br>
>> Hi,<br>
>> <br>
>> I am trying to build an illustration using marker/color zone. I successfully colored my mrc file. Now, I want to fit a crystal structure I downloaded from pdb into the mrc. But they apparently have different sizes. I tried voxelSize to scale up my mrc, but then all my markers don’t fit with the enlarged mrc. However, voxelSize doesn’t seem to work with the crystal structure (.pdb1) as I got an error message “no volumes specified” when I indeed wrote “volume #5 voxelSize 2”. I am wondering is there any function like voxelSize to scale down the crystal structure? Thank you! <br>
> <br>
> <br>
> _______________________________________________<br>
> ChimeraX-users mailing list<br>
> <a href="mailto:ChimeraX-users@cgl.ucsf.edu" target="_blank">ChimeraX-users@cgl.ucsf.edu</a><br>
> Manage subscription:<br>
> <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users" rel="noreferrer" target="_blank">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br>
> <br>
<br>
</blockquote></div></div>