<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class=""><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Sep 3, 2016, at 11:23 AM, Melissa Jurica <<a href="mailto:mjurica@ucsc.edu" class="">mjurica@ucsc.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Elaine-<div class=""><br class=""></div><div class="">My structures have more than 20 individual components (recent spliceosome cryo-EM models- example PDB 5GMK). They came as 1 model, which I split to have more control over for analysis. I can go through each component by hand and copy/paste the color for each model into a text file and then turn then this into a command file to color another structure with the same components in another conformation. (Thanks for turning me on to the “modelcolor” command. That will be helpful!) However, I was hoping there was a way to use something like grep to extract this information from the .py session file.</div><div class=""><br class=""></div><div class="">Melissa</div><div class=""><br class=""></div><div class=""><div apple-content-edited="true" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><i class=""><div style="font-family: GillSans-SemiBoldItalic; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</font></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">Melissa S. Jurica, Ph.D.</font></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">Professor, </font><span style="text-align: -webkit-auto;" class="">Molecular, Cell & Developmental Biology</span></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">Center for Molecular Biology of RNA</font></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">University of California, Santa Cruz</font></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">1156 High Street</font></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">Santa Cruz, CA 95064</font></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">Office: 450 Sinsheimer Labs<span class="Apple-tab-span" style="white-space: pre;"> </span></font>Lab: 434 Sinsheimer Labs </div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><font style="font-variant: normal; line-height: normal;" class="">Office phone (831) 459-4427<span class="Apple-tab-span" style="white-space: pre;"> </span></font><span style="text-align: -webkit-auto;" class="">Lab phone (831) 459-2463<span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="text-align: -webkit-auto;" class="">Fax (831) 459-3139</span></div><div style="font-family: GillSans-SemiBoldItalic; font-weight: bold; margin: 0px;" class=""><span style="text-align: -webkit-auto;" class=""><a href="http://www.mcd.ucsc.edu/faculty/jurica.html" class="">http://www.mcd.ucsc.edu/faculty/jurica.html</a></span></div><div style="margin: 0px;" class=""><span style="text-align: -webkit-auto;" class=""><font face="Gill Sans" class="">^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</font></span></div></i></div></span></div></span></div></div></div></div></div></div></div>
</div>
<br class=""><div class=""><div class="">On Sep 2, 2016, at 5:11 PM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite" class="">Hi Melissa,<br class="">At first I was going to suggest “mcopy” but from your description, it sounds like you have each chain as a separate model. “mcopy” is only for copying settings within one model to other models.<br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/mcopy.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/mcopy.html</a>><br class=""><br class="">You can get the current atom-color RGB definitions or hex codes by Ctrl-click to select an atom (or ribbon segment to select the whole residue, if all of its atoms are the same color), showing the Selection Inspector, Inspect: atom, and then clicking the square color well to get the Color Editor. Then in the Color Editor you can see the hex code starting with # in the “Color name” field.<br class=""><br class="">The square in the Model Panel shows the model-level color. Chimera has a coloring hierarchy, where if the atoms are individually assigned colors (such as with your color command), in the 3D display those colors mask the model-level color, which may be different. You can use the modelcolor command, for example “modelcolor #6168c8fb41bc #0.17” or click the color square in the Model Panel to make the Color Editor dialog appear, and then enter the hex code in the “Color name” field of the Color Editor: <br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/colortool.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/colortool.html</a>><br class="">There is only one model-level color per model, as the name suggests, even though the atoms and per-residue ribbon segments might be all different colors.<br class=""><br class="">More about color hierarchy:<br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/hierarchy.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/hierarchy.html</a>><br class=""><br class="">I hope this helps,<br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class="">On Sep 2, 2016, at 1:23 PM, Melissa Jurica <<a href="mailto:mjurica@ucsc.edu" class="">mjurica@ucsc.edu</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">I am analyzing a structure containing many individual chains that I have colored. I would like to transfer these colors to another structure of the same complex in a different conformation. Is there a way to extract the colors into a text file so that I can write a command file with the same color designations?<br class=""><br class="">For example:<br class=""><br class="">color #6168c8fb41bc #0.17<br class=""><br class="">Also-<br class="">How do I get that color to apply to the little square that shows up on the model panel?<br class=""><br class="">Melissa<br class=""></blockquote><br class=""></blockquote></div><br class=""></div></div>_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></body></html>