<div dir="ltr"><div dir="ltr">Thanks Elaine!<div><br></div><div>Great - so now I'm using "measure center" to create markers with 0.0000001 radius at the center of my rings with specified modelId's. Then I have a .pb file that specifies the pseudobonds to draw between markers and atoms. That all seems to work pretty well, thanks!</div><div><br></div><div>Only little snag right now is I can't seem to get transparency working when the color-spec in the .pb file is in the format rgba(). Setting the transparency after opening the pb file using "transparency" works fine though, so I'm not stuck. </div><div><br></div><div>Thanks again for the help. </div><div><br></div><div>Cheers,</div><div>Alexis</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 9:36 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">Here is the more detailed description of pseudobond file format:<br>
<br>
<<a href="http://rbvi.ucsf.edu/chimerax/docs/user/pseudobonds.html#pbfiles" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/pseudobonds.html#pbfiles</a>><br>
<br>
> On Mar 6, 2020, at 9:33 AM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>> wrote:<br>
> <br>
> Hi Alexis,<br>
> There is currently no option to specify a model number for the distance pseudobonds. Typical usage doesn't usually require differentiating different sets of distances, but your case is atypical.<br>
> <br>
> If you really want to create several sets of pseudobonds as different models, it may be better to read each set in from a pseudobond input file. You'd have to create these text files (basically just lists of pairs of atom specifiers) named *.pb and then open them. <br>
> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/open.html#atomic" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/open.html#atomic</a>><br>
> <br>
> They will get sequential model numbers like other models that are opened. Also you'd need to use other commands (size, style, color, ...) to change their appearance, not the Distances tool.<br>
> <br>
> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html</a>><br>
> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/style.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/style.html</a>><br>
> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#simple" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#simple</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 Mar 6, 2020, at 8:30 AM, Alexis Rohou <<a href="mailto:a.rohou@gmail.com" target="_blank">a.rohou@gmail.com</a>> wrote:<br>
>> <br>
>> Thanks Elaine,<br>
>> <br>
>> Distances work pretty well for this. I'm doing something like this, which makes the marker so small that I can't see it:<br>
>> <br>
>> measure center #1/A:841@CG,CD2,CE2,CZ,CE1,CD1 mark true radius 0.0000001 model #1001<br>
>> distance #1001 #1/A:840@CD2<br>
>> <br>
>> One question about the "distance" command. Is it possible to specify the modelId of the distance model that is created? If not, I'd like to suggest this as a useful addition - it would allow better scripting control over showing labels etc (so you know what model # the distances have), and creation of different groups of distances that could be manipulated independently of each other.<br>
>> <br>
>> Cheers,<br>
>> Alexis<br>
>> <br>
>> On Thu, Mar 5, 2020 at 2:23 PM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>> wrote:<br>
>> Hi Alexis,<br>
>> You could use "measure center" with "mark true" to add dummy atoms at the centers of rings. We are working on axes/planes/centroids functionality similar to that available in Chimera, but it is not yet available.<br>
>> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/measure.html#center" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/measure.html#center</a>><br>
>> <br>
>> Then one way to draw a dashed line is to add a distance monitor between any pair of atoms, then edit line appearance in the Distances tool (in menu under Tools... Structure Analysis). You can hide the distance labels by unchecking the "shown" checkbox (under the eye icon) for the labels model in the Model Panel. You may need to use the disclosure triangle to show the "labels" submodel of "distances" model.<br>
>> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/tools/distances.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/tools/distances.html</a>><br>
>> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/tools/modelpanel.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/tools/modelpanel.html</a>><br>
>> <br>
>> I believe you have to show the atoms on both ends for the pseudobond to remain visible, however. If you hide one atom, that hides the pseudobond. You could make the atom's radius small (see "size") or make it 100% transparent (see "transparency"), e.g.<br>
>> <br>
>> transparency sel 100 target a<br>
>> <br>
>> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html</a>><br>
>> <<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/transparency.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/transparency.html</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 Mar 5, 2020, at 1:58 PM, Alexis Rohou <<a href="mailto:a.rohou@gmail.com" target="_blank">a.rohou@gmail.com</a>> wrote:<br>
>>> <br>
>>> Hi all,<br>
>>> <br>
>>> Looking for ideas on how to achieve the following, if possible: <br>
>>> <br>
>>> I'd like to draw lines to represent favorable ring-ring stacking interactions (lines between the center of two arene rings), ring-ring edge-to-face interactions (between one atom of one ring and the center of the other ring), and between a regular atom (not part of a ring) and the center of an arene ring.<br>
>>> <br>
>>> So I'm guess what I'm looking for is a way to:<br>
>>> 1. compute the center coordinates of a ring<br>
>>> 2. place an invisible atom there<br>
>>> 3. create a pseudobond between this virtual atom and other atoms/virtual atoms<br>
>>> <br>
>>> Any suggestions as to how I could achieve this?<br>
>>> <br>
>>> Cheers,<br>
>>> Alexis<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="http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br>
<br>
</blockquote></div>