改变提取的氨基酸的颜色



我想写一个PyMOL脚本来改变氨基酸在XYZ位置的颜色(或以某种方式在XYZ位置放置一些带有标签的标记)。

有人知道怎么做吗?

谢谢

你知道PyMOL中的pseudoatom和label吗?

# to create a banner at certain position
pseudoatom mypsatm, pos=[10.0,10.0,10.0]  
show spheres, mypsatm
color red, mypsatm                     # now you see me
hide everything, mypsatm
label mypsatm, 'How about this'        # only show banner  
# to select residues close to that position
select mysel, byres mypsatm around 4   # 4 Angstroms around mypsatm

最新更新