<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Christian,<div><span class="Apple-tab-span" style="white-space:pre"> </span>I'm happy you like Chimera enough to mis-use in in this way! :-) However, I don't think "rainbow" is the way to go here. Rainbow only affects connected strings of residues. For example, if you rainbow a protein system, waters and ligands will retain their original colors (and for your system, Chimera really has no way of knowing that your "residues" aren't peptide ligands).</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>SInce you are creating your own PDB files anyway, what I suggest is that your put your "grouping info" into the bfactor field. Then you can use the Render by Attribute tool (or the rangecolor command) to color your points based on their bfactor.</div><div><br></div><div>--Eric<br><br><div><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" style="font: normal normal normal 16px/normal Helvetica; "> Eric Pettersen</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" style="font: normal normal normal 16px/normal Helvetica; "> UCSF Computer Graphics Lab</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" style="font: normal normal normal 16px/normal Helvetica; "> <a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a></font></div><div><font face="Helvetica" size="5" style="font: normal normal normal 16px/normal Helvetica; "><br></font></div></div></span></div><div><div>On Sep 16, 2010, at 9:21 AM, Christian Schudoma wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear Chimera-devs and community,<br><br>I am "abusing" the 3D-rendering capabilities of Chimera to visualise 3D <br>coordinates that do not actually represent molecular data.<br>(Why do I do that? Because I love using Chimera for visualising <br>molecular data and I needed a quick way to display (+ rotate/zoom) 3D <br>data without hassle. I'm sure there are other solutions out there but I <br>found it easier to convert my data to PDB than find a decent tool or <br>code one myself.)<br><br>I convert my xyz coordinates into PDB-format, using Hydrogen atoms and <br>GLY as residue name (or, alternatively XXX - which wouldn't work <br>either). I use the residue index (resSeq) to identify groups of points <br>that belong together.<br>This of course results in a complete nonsense-"protein" (with <br>GLY-residues consisting of nothing but 100's of hydrogen atoms), which <br>is nevertheless in syntactically correct (I hope) PDB format and both <br>readable as well as displayable by Chimera (as a point cloud using <br>wire-representation).<br><br>Now to the problem I encountered:<br>I would like to colour my "atoms" by their residue index.<br>I can colour the individual "atoms" manually, using Select-operations or <br>Ctrl-click and then the Color-menu. The Rainbow tool, however, does not <br>work to colour my point cloud. It simply doesn't do anything.<br><br>My question is, whether Rainbow performs some plausibility checking of <br>the data (and if so, then whether it is necessary to do that? It would <br>seem that Rainbow only needs to access either the residue, chain, or <br>model indices to do what it's supposed to do, i.e. to assign colour)?<br><br>Of course I am aware that my problem is kinda homemade and Rainbow works <br>fine for normal PDB structures. I am also not saying that Chimera's <br>buggy (although it seems to have a problem processing weird data in some <br>situations (Rainbow) but not in others (manual colouring)). However, I'd <br>like to understand why things don't work as expected ;)<br><br>Cheers,<br>Christian<br><br>---<br>Christian Schudoma, M.Sc.<br>Ph.D. Student<br><br>Bioinformatics Group<br>Max Planck Institute of Molecular Plant Physiology<br>Am Muehlenberg 1<br>14476 Potsdam-Golm<br>Germany<br><br>phone: +49 (331) 567-8624<br>email: <a href="mailto:schudoma@mpimp-golm.mpg.de">schudoma@mpimp-golm.mpg.de</a><br><a href="http://rloom.mpimp-golm.mpg.de">http://rloom.mpimp-golm.mpg.de</a><br><br>_______________________________________________<br>Chimera-users mailing list<br>Chimera-users@cgl.ucsf.edu<br>http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br></div></blockquote></div><br></div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="font-size: medium;"><br class="Apple-interchange-newline"></span></div></span> </div><br></body></html>