<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Joel,<div class=""><br class=""></div><div class="">If you try to use the trick of two copies of the structure I see from Elaine's picture that the two copies don't join very well. I would suspect that if you include a much longer stretch (10 residues) of the tube helix model beyond the ends of the tube then the match of the ends to the copy without the tubes will become better. It is just a theory. The tube style changes the spline that the ribbon passes through but the effects of the change in spline shape caused by the tube should fall off if you move many residues away from the tube helix ends. I have not tried it.<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 23, 2020, at 10:48 AM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Joel,<div class="">Not really, with details below. The "cartoon style" settings are per-model, disallowing two different styles in the same model.</div><div class=""><<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/cartoon.html#subcommands" class="">http://rbvi.ucsf.edu/chimerax/docs/user/commands/cartoon.html#subcommands</a>></div><div class=""><br class=""></div><div class="">I was hoping I could simply open two copies and show the complementary residue ranges in the different styles, hiding the rest of the cartoon in each. Unfortunately the ends don't join smoothly. You could try to fudge it with showing an additional residue of overlap and/or making the tube fat and/or viewing from a strategic angle, but it may not look very good. It was fairly ugly in my experiments.</div><div class=""><br class=""></div><div class="">Although both models' cartoon paths pass through the CA positions exactly, you can't turn off display precisely at the CA, but only the cartoon segment per residue, which has the CA in the middle, not the end.</div><div class=""><br class=""></div><div class="">I also tried 100% transparency in case that was any different than simply hiding the cartoon of some residues, but it gave the same result.</div><div class=""><br class=""></div><div class="">The least bad, at least in my couple of test cases, was to show helix range + 1 on each end in the tube model, and all but the helix range in the ribbon model. Attached images of (1) that (tube has helix +1 on each end), (2) completely disjoint, complementary ranges displayed (3) more of the ribbon model shown so you can see how the paths diverge.</div><div class=""><br class=""></div><div class="">We plan to eventually add helix axis calculations that would display a straight cylinder. Maybe that would better accomplish your goal. Currently available alternatives include just creating a straight cylinder as an object with BILD format or as a surface model with the recently added "shape" command, but it may be difficult to get the dimensions and placement just right.</div><div class=""><br class=""></div><div class=""><<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/shape.html" class="">http://rbvi.ucsf.edu/chimerax/docs/user/commands/shape.html</a>></div><div class=""><<a href="http://rbvi.ucsf.edu/chimerax/docs/user/formats/bild.html" class="">http://rbvi.ucsf.edu/chimerax/docs/user/formats/bild.html</a>></div><div class=""><br class=""></div><div class="">I hope this helps,</div><div class="">Elaine<br class=""><div class="">-----<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><span id="cid:9553EC6E-AA54-4FF5-88C7-3A16BDAB7812@gateway.sonic.net"><plus1.png></span><span id="cid:B3B96D9F-9BB8-4E07-9945-3000818F4E48@gateway.sonic.net"><disjoint.png></span><span id="cid:D93614C8-1834-47CE-A1A5-0A781A310C15@gateway.sonic.net"><allribbon.png></span><br class=""><br class=""></div><br class=""><blockquote type="cite" class="">On Apr 23, 2020, at 9:59 AM, Joel Meyerson <<a href="mailto:jrm2008@med.cornell.edu" class="">jrm2008@med.cornell.edu</a>> wrote:<br class=""><br class="">Hi,<br class="">I would like to display a model as a ribbon, but then specify a single helix to show as a tube. So far I’ve only been able to show the model either entirely as a ribbon, or entirely as tubes. Is there syntax I can use to blend the two helix styles?<br class=""> <br class="">Thanks,<br class="">Joel<br class=""></blockquote><br class=""></div></div>_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></div></blockquote></div><br class=""></div></div></body></html>