This commit is contained in:
Your Name
2024-11-27 15:18:39 +08:00
parent 9e2ccaef07
commit 1bc7d248c9
2 changed files with 19 additions and 1 deletions

View File

@@ -220,6 +220,12 @@ def protgrey(selection='all'):
#cmd.create(obj_name, f'byres (resn {resn} and chain {chain}) around {distance} or (resn {resn} and chain {chain})') # 选择resn的对象和resn对象周围3A的原子扩展至残基的原子
#cmd.hide('everything', 'all')
#cmd.show('lines', obj_name)
# 选择所有核酸DNA 或 RNA
# select nucleic_acids, polymer.nucleic
# # 选择所有蛋白质
# select proteins, polymer.protein
# # 锁定到链
# select chainA_protein, polymer.protein and chain A
cmd.extend('colorp',colorp)
cmd.extend('method',method)