<div dir="ltr">Tom,<div><br></div><div>Boy, there is so much to learn from Chimera! </div><div><br></div><div>I was able to follow the sequence of the commands listed in your email and produce colored facets of a pentagon and a hexagon.</div><div><br></div><div>Thank you for your help!</div><div><br></div><div>Wei</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 10, 2020 at 6:50 PM Tom Goddard <<a href="mailto:goddard@sonic.net">goddard@sonic.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Wei,<div><br></div><div> Did you see the Chimera example of using hkcage to color a virus?</div><div><br></div><div><span style="white-space:pre-wrap"> </span><a href="https://www.cgl.ucsf.edu/chimera/ImageGallery/entries/herpes/herpes.html" target="_blank">https://www.cgl.ucsf.edu/chimera/ImageGallery/entries/herpes/herpes.html</a></div><div><br></div><div>It has a script markhidden.py. I just tried it with commands "hkcage 3 1" and "open ~/Downloads/markhidden.py". That script put markers at all the hexamer and pentamer centers. I made them bigger with "vdwdefine 3 #1". But it also put a bunch of additional undesired markers on the icosahedron edges (where the pentagons and hexagons are folded). I could select by hand (ctrl click, and shift ctrl click) and delete the undesired markers (menu Actions / Atoms / Delete). Another thing I tried is fattening up the mesh lines with "meshmol #0 1" and colored the fattened lines "color orange #2". Then I tried another tool Volume Tracer (Chimera menu Tools / Volume Data / Volume Tracer), selected by hand the vertices of my orange mesh around a hexagon, and used Volume Trace menu Features / Surfaces and pressed the create button to make some color planes for a hexagon and a pentagon.</div><div><br></div><div> So there are lots of Chimera tools that can help you manually do this stuff, but it is pretty tedious.</div><div><br></div><div><span style="white-space:pre-wrap"> </span>Tom</div><div><br></div><div><br><div><img id="gmail-m_31309647780577898541C136FBC-4DFD-4834-878F-44250EBFFD7F" src="cid:1716a4ccc97450fcd8b1"><br><blockquote type="cite"><div>On Apr 10, 2020, at 1:16 PM, Wei Zhang <<a href="mailto:zhangwei@umn.edu" target="_blank">zhangwei@umn.edu</a>> wrote:</div><br><div><div dir="ltr">Elaine,<div><br></div><div>Thank you. Yes. I played with the "cage builder" last night and liked it. I was able to build a T=13 lattice manually (h,k=3,1). But it is too difficult for larger h or k values.</div><div><br></div><div>I think probably i can write a .bild file with a certain object (eg. a sphere) appears at the center of each pentamer to help visualization.</div><div><br></div><div>Is there a way to write out a file that contains the centers coordinates of each hexagon or pentagon?</div><div><br></div><div>Thanks!</div><div><br></div><div>Wei</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 10, 2020 at 3:05 PM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi Wei, <br>
In the mesh from "hkcage", a pentagon edge might also be a hexagon edge. So there is no option to make hexagons a different color than the pentagons, if that's what you meant, sorry. <br>
<br>
There is another tool "Cage Builder" (in menu under Tools... Higher-Order Structure) that lets you build up pentagons and hexagons manually. They have separate edges and are automatically different colors from each other, but it may be too difficult to build the whole thing that way. Also, there isn't an option to control the colors of the hexagons and pentagons; the pentagons are always orange and the hexagons blue.<br>
<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/cagebuilder/cagebuilder.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/cagebuilder/cagebuilder.html</a>><br>
<br>
Best,<br>
Elaine<br>
<br>
> On Apr 10, 2020, at 9:06 AM, Wei Zhang <<a href="mailto:zhangwei@umn.edu" target="_blank">zhangwei@umn.edu</a>> wrote:<br>
> <br>
> Hi Elaine,<br>
> <br>
> I am able to use hkcage and build a spherical sphere with pentagons and hexagons. Is there a way to color those pentagons differently?<br>
> <br>
> Thank you,<br>
> <br>
> Wei<br>
> <br>
> On Fri, Apr 10, 2020 at 10:41 AM Wei Zhang <<a href="mailto:zhangwei@umn.edu" target="_blank">zhangwei@umn.edu</a>> wrote:<br>
> Hi Elaine,<br>
> <br>
> Thank you for the quick reply and the instructions. <br>
> I will use the other email address next time. <br>
> <br>
> Best regards,<br>
> <br>
> Wei<br>
> <br>
> On Fri, Apr 10, 2020 at 10:12 AM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>> wrote:<br>
> Hi Wei,<br>
> <br>
> Take a look at the "hkcage" command if you want hexagons and pentagons instead of triangles. You give it the h and k values which are related to T number by the equation shown in that page:<br>
> <<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/hkcage.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/hkcage.html</a>><br>
> <br>
> For this kind of question (next time) you probably want the <a href="mailto:chimera-users@cgl.ucsf.edu" target="_blank">chimera-users@cgl.ucsf.edu</a> mailing list, not chimera-dev which is more for programming questions.<br>
> <br>
> Thank you for the good wishes -- you stay safe too!<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 Apr 9, 2020, at 4:21 PM, Wei Zhang <<a href="mailto:zhangwei@umn.edu" target="_blank">zhangwei@umn.edu</a>> wrote:<br>
> > <br>
> > Hello,<br>
> > <br>
> > I have been playing with the icosahedron utility in Chimera. I really like this feature, especially with the sphere factor.<br>
> > <br>
> > The current routine uses a subdivision factor to represent the number of triangles on an icosahedral surface. However this lattice is not the same as we see in icosahedral viruses, which use a T number to designate symmetry. With a subdivision number, there are always hexamers on any edge of the icosahedron, whereas in the virus structure this is not the case.<br>
> > <br>
> > I am wondering if Chimera has an utility that can use the T number as the basis for building an icosahedron surface.<br>
> > <br>
> > Thank you.<br>
> > <br>
> > Hope everything is going well and stay safe!<br>
> > <br>
> > Wei<br>
> <br>
> _______________________________________________<br>
> Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank">Chimera-users@cgl.ucsf.edu</a><br>
> Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" rel="noreferrer" target="_blank">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br>
<br>
</blockquote></div>
_______________________________________________<br>Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank">Chimera-users@cgl.ucsf.edu</a><br>Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br></div></blockquote></div><br></div></div></blockquote></div>