备忘:美化pymol作图1

2020-10-10 10:55:46 浏览数 (1)

  • 读取pymol,显示sequence
  • 将24-26号氨基酸改为β折叠
代码语言:javascript复制
alter 24-26/, ss='S'
rebuild

类似的代码还有如下,将不同的序列部分改为helix,loop,和sheet等

代码语言:javascript复制
show cartoon
alter 11-40/, ss='H'             # assign residues 11-40 as helix
alter 40-52/, ss='L'             # assign residues 40-52 as loop
alter 52-65/, ss='S'             # assign residues 52-65 as sheet
alter 65-72/, ss='H'             # assign residues 65-72 as helix
rebuild                          # regenerate the cartoon

0 人点赞