[Chimera-users] in *.gro file, chimera takes CL atom as C (in compound) and gives it wrong color

Eric Pettersen pett at cgl.ucsf.edu
Mon Feb 22 13:04:04 PST 2021


Hi Lei,
	There is no explicit indication of the chemical element type in a .gro file, so it's all guesswork.  Chimera assumes that atom names that begin with any of the letters C, O, P, S, H, or N are the corresponding single letter element type.  This prevents atom names like CA and HG from being interpreted as calcium and mercury, rather than carbon and hydrogen.
	There aren't any great solutions.  One option is to read in the .gro file, write it out as a .mol2 file, then edit that file to change the atom type of the CL atoms to Cl, then read that back in.  Another is to select your CL atoms and use the "Modify Structure" tab of the Build Structure tool to change their element to Cl.

--Eric

	Eric Pettersen
	UCSF Computer Graphics Lab


> On Feb 18, 2021, at 8:30 PM, Lei Qian <tuk04130 at temple.edu> wrote:
> 
> Dear users,
> Could I ask a question on chimera? Thanks!
> I tried to open a gro file (small compound) using chimera. Like below:
> ... ...
>     1  LIG   CL   18   x.xxx    x.xxx      x.xxx  
>     1  LIG  CL1   19   x.xxx    x.xxx      x.xxx    
> ... ...
> Although chimera shows the CL name "CL" when the cursor is above the atom, but the CL atom color is incorrect: the same as Carbon. 
> I tried to change the "CL" to "BR", and the chimera shows the correct color: dark red. It seems weird to me. Could you please give me any suggestions? 
> Thanks!
> Best,
> Lei
> 
> 
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20210222/a33a5759/attachment.html>


More information about the Chimera-users mailing list