Thank you very much! It worked for me!
Draw Bonds In Pymol And Color Them
Hello everyone,
I was trying to make a pymol script. I have to draw different lines in my pdb structure with different colors.
So, I find the way to draw a bond between to atoms, for example.
"bond resi 234 and resn GLU and name CA, resi 259 and resn SER and name CA"
But it always draw the bond with the same color. And I wasn't able to change a bond color without changing every bonds color.
How can I color one specific bond color, for example just the bond that bonds resi 234 and resn GLU and name CA and resi 259 and resn SER and name CA?
Thanks in advance
Gonzalo
• 16,533 views
•
link
1 answer
set_bond line_color, red, resi 234 and resn GLU and name CA, resi 259 and resn SER and name CA
Refs:
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.