<div dir="ltr">Thank you so much for your help.<div>Have a great day.</div><div><br></div><div>Best regards,</div><div>Thu</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 7, 2022 at 11:45 AM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As far as I know you would need to use "volume settings" to show the info in the Log and then just copy/paste yourself into some other text editor to create a text file. Or save the whole Log (e.g. command "log save") but that will give an HTML file, not a text file.<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/log.html#save" rel="noreferrer" target="_blank">https://rbvi.ucsf.edu/chimerax/docs/user/commands/log.html#save</a>><br>
<br>
Elaine<br>
<br>
<br>
<br>
> On Nov 7, 2022, at 8:40 AM, Thu Nguyen via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank">chimerax-users@cgl.ucsf.edu</a>> wrote:<br>
> <br>
> Good morning,<br>
> Thank you very much for your explanation. It is truly helpful.<br>
> For my second question, is there a way to write the region of a map to a text file? For example, when I open the map of emdb 12554, I have the region of 0 0 0 to 449 449 449. Is there any way we can write these numbers into a text file (for example: id_12554 0 0 0 449 449 449)?<br>
> Thank you very much.<br>
> <br>
> Best regards,<br>
> Thu<br>
> <br>
> <br>
> On Mon, Nov 7, 2022 at 11:26 AM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>> wrote:<br>
> Hi Thu,<br>
> The pad value units are angstroms (not voxels) but it sounds like you understand that, since your math is correct: if you want 1.4 angstroms, then enter 1.4. If you want 23.8 angstroms then enter 23.8. If the voxel size (grid spacing) is 1.4 then those are equal to 1 grid unit and 17 grid units respectively, like you said.<br>
> <br>
> To calculate the XYZ location of grid indices, like (0,0,0) and (103,95,143) you have to figure it out from the voxel size and origin coordinates, as reported by "volume settings" command. Say for example that this command gives me <br>
> <br>
> voxel size = 1.4 1.4 1.4<br>
> origin = 2.525 -2.214 7.929<br>
> <br>
> Then the coordinates of grid (0,0,0) are xyz (2.525,-2.214,7.929). The coordinates of grid (1,3,1) are x = 2.525 + 1(1.4) = 3.925, y = -2.214 + 3(1.4) = 1.986, z = 7.929 + 1(1.4) = 9.329. <br>
> <br>
> For saving part of a map, you can enter grid indices with the "save" command "region" option, for example if your map is #2:<br>
> <br>
> save ~meng/Desktop/mymap.mrc model #2 region 0,0,0,103,95,143<br>
> <br>
> <<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#map" rel="noreferrer" target="_blank">https://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#map</a>><br>
> <br>
> I hope this helps,<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>
> <br>
> > On Nov 7, 2022, at 7:44 AM, Thu Nguyen via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank">chimerax-users@cgl.ucsf.edu</a>> wrote:<br>
> > <br>
> > Thank you very much for your help.<br>
> > <br>
> > You mean that if the voxel size of my map is 1.4 (for example), then the pad value in the command will have the unit of the voxel size, which is 1.4 in this case? And if I want to add 17 extra voxels on each side, the pad value will be 1.4*17 = 23.8?<br>
> > <br>
> > I do have another question about how to extract a region of a chain. For example, if a chain has its region of 0 0 0 to 103 95 143, how do we extract its location and save it in a text file?<br>
> > Thank you so much.<br>
> > <br>
> > Best regards,<br>
> > Thu<br>
> <br>
> <Screen Shot 2022-11-07 at 11.33.31 AM.png>_______________________________________________<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>
</blockquote></div>