更改背景颜色 bg_color white util.cbc object Util.cbc stands for (the utilities library's) color by chain. This simply colors molecules by their chains, as the name suggests. 创建质心 PyMOL>com sele, state
脚本 """ Created on Fri Dec 24 14:33:08 2021 @author: lywu """ from pymol import cmd from math import sqrt #import numpy as np def mindist(): atoms = {} atoms2 = {} list1=list
隐藏非极性H PyMOL>hide (h. and (e. c extend 1)) alter PyMOL>alter open and chain B, resv-=100 select select rep sticks select test, rep sticks set label set label_positions, [-2,0,0] pseudoa