This is a test version of Biostars. For the public version, visit https://www.biostars.org.
PyMOL surface coloring problem in TCR-MHC contact visualization

I am using PyMOL to visualize contact residues between the TCR CDR regions and the MHC/peptide. I am currently running into an issue with surface coloring that I haven’t been able to resolve. My goal is to generate a figure similar to the attached example. enter image description here. where the MHC surface is shown in a uniform light gray and the contact regions are color-coded based on the interacting CDR regions. To do this, I first selected only the MHC surface and colored it gray95. After that, I selected the MHC contact residues and applied different colors corresponding to the CDR regions. However, even after setting the MHC surface to gray95, I still see residual green, red, and blue coloring along the inner edges of the surface. I have tried multiple approaches to remove or override this internal edge coloring, but I haven’t been able to eliminate it enter image description here . This color might be confusing because I plan to color-code the MHC surface and peptide sticks, and the existing internal colors could be confusing or misleading in the final figure. Any idea or suggestions to resolve this?

tcrcontactresidue pymol tcr

I think you need to change the transparency to zero and hide the sticks in that molecule.

set transparency, 0.0
hide sticks

0 answers

No answers yet.

Log in to answer this question.