<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Elaine,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Is there a command equivalent to VolumeViewer->File->Duplicate? <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
H.<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> Tuesday, July 14, 2020 3:48 PM<br>
<b>To:</b> Hernando J Sosa <hernando.sosa@einsteinmed.org><br>
<b>Cc:</b> chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [Chimera-users] crop map command</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook
 dashboard to report any suspicious emails.<br>
<br>
Hi Hernando,<br>
I don't know such a formula, it would have to include the rotation and translation of one model relative to the other.<br>
<br>
Normally to limit map isosurface display to the parts near some atoms, you would just use the "sop zone" command:<br>
<<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fsop.html%23zone&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=6LZZuqF%2F3Ecjt%2FosUQmF2eJImZbf5Iei4LpGKqHJrnI%3D&amp;reserved=0">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fsop.html%23zone&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=6LZZuqF%2F3Ecjt%2FosUQmF2eJImZbf5Iei4LpGKqHJrnI%3D&amp;reserved=0</a>><br>
<br>
... or if you want to make a new map that has zero values outside the zone, the "vop zone" command:<br>
<<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvop.html%23zone&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=5KLY0oWj7lV3q7yx8CsKDHov%2F5yqSC%2BPFmaQqiAmKpQ%3D&amp;reserved=0">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvop.html%23zone&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=5KLY0oWj7lV3q7yx8CsKDHov%2F5yqSC%2BPFmaQqiAmKpQ%3D&amp;reserved=0</a>><br>
<br>
Those would not give a rectangular box, however.<br>
<br>
I can't think of a series of commands that would give you a rectangular box subregion of the original map on the bounding box of a molecule.  It would probably take python, and somebody else would have to advise on that.  Maybe "vop cover," but it sounds like
 it would only make a map bigger, not smaller, than its current size.<br>
<<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvop.html%23cover&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=Q%2FFLm%2FZR5Pap00r8Oj%2B9mFa3guC3kdkSusqM0KVzHAs%3D&amp;reserved=0">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvop.html%23cover&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=Q%2FFLm%2FZR5Pap00r8Oj%2B9mFa3guC3kdkSusqM0KVzHAs%3D&amp;reserved=0</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>
> On Jul 14, 2020, at 12:28 PM, Hernando J Sosa <hernando.sosa@einsteinmed.org> wrote:<br>
><br>
> Thanks Elaine this would work. Another question assuming that I want to display a region of the map around a particular  structure of a model fitted into the map. What would be the formula o convert from  the  model atomic coordinates to the map grid coordinates?<br>
><br>
> thanks again<br>
><br>
> H.<br>
><br>
><br>
> From: Elaine Meng <meng@cgl.ucsf.edu><br>
> Sent: Tuesday, July 14, 2020 2:54 PM<br>
> To: Hernando J Sosa <hernando.sosa@einsteinmed.org><br>
> Cc: chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu><br>
> Subject: Re: [Chimera-users] crop map command<br>
><br>
> CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook dashboard to report
 any suspicious emails.<br>
><br>
> Hi Hernando,<br>
> With the "region" option of "volume" you can specify the subregion directly, e.g.<br>
><br>
> volume #2 region 13,4,0,22,25,29<br>
><br>
> ... but in that case you would need to know the grid indices you want; it does not use the hand-drawn box.<br>
> <<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvolume.html%23dimensions&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=iyCmyf7XWu6JKwbBcZ4qv44Q8vKohHc9Ax3Ssl1PAOc%3D&amp;reserved=0">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvolume.html%23dimensions&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=iyCmyf7XWu6JKwbBcZ4qv44Q8vKohHc9Ax3Ssl1PAOc%3D&amp;reserved=0</a>><br>
><br>
> However, you can give different cropped subregions different names ahead of time with the "volume" command "nameRegion" option,  and then switch between them in the display by name using this "region" option.  These options are explained in the link above.<br>
><br>
> I thought there might be a keyboard shortcut for it, but I don't see one.  I only see a keyboard shortcut "eb" to erase the map inside the box.<br>
><br>
> Chimera keyboard shortcuts tool:<br>
> <<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FContributedSoftware%2Faccelerators%2Faccelerators.html&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=eKIhzkh16aN64YeSjDEAvXgTG%2FDr8bYZNSBtucAWTWY%3D&amp;reserved=0">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FContributedSoftware%2Faccelerators%2Faccelerators.html&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=eKIhzkh16aN64YeSjDEAvXgTG%2FDr8bYZNSBtucAWTWY%3D&amp;reserved=0</a>><br>
> The shortcuts themselves:<br>
> <<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FContributedSoftware%2Faccelerators%2Falist.html%23voledit&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=K3PyzYXAjy3XZ6fyBPl%2FgRDybgkB3z4XVNY3hSTMfkw%3D&amp;reserved=0">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FContributedSoftware%2Faccelerators%2Falist.html%23voledit&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=K3PyzYXAjy3XZ6fyBPl%2FgRDybgkB3z4XVNY3hSTMfkw%3D&amp;reserved=0</a>><br>
><br>
> You can use accelerators directly as commands with the "ac" command, for example to use the "eb" shortcut, command:<br>
><br>
> ac eb<br>
><br>
> <<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fac.html&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=Tp6GjeNKqn%2Fe5oKIJw4zM9QLlxDIVSflzagRbpQwhcA%3D&amp;reserved=0">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fac.html&amp;data=02%7C01%7Chernando.sosa%40einsteinmed.org%7Cfcde677321dc4ecee30e08d8282ef597%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637303530044371189&amp;sdata=Tp6GjeNKqn%2Fe5oKIJw4zM9QLlxDIVSflzagRbpQwhcA%3D&amp;reserved=0</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>
> > On Jul 14, 2020, at 11:05 AM, Hernando J Sosa <hernando.sosa@einsteinmed.org> wrote:<br>
> ><br>
> > Dear Chimera,<br>
> > I there a chimera command equivalent to Features -> subregion selection -> crop in the Volume viewer menu?<br>
> > Thanks<br>
> > Hernando<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>