2024-06-11 12:44:21 发布
网友
我不能只给Pymol中的一个特定链的残基着色。抱歉,这似乎是一个清晰的初学者问题。你知道吗
到目前为止,我只能对所有链上具有特定值(例如141)的所有残留物着色。你知道吗
#I want to colour residue 141 on chain D blue. first_res = 141 color("blue", 'resi ' + first_res)
要从特定链中选择残留物,只需添加“and chain…”,如下所示:
cmd.color("blue", 'resi ' + first_res + ' and chain ' + first_chain))
要从特定链中选择残留物,只需添加“and chain…”,如下所示:
相关问题 更多 >
编程相关推荐