列举所有Pymol命令,暂未完成
A
Abort
空功能,与Python的None相似
Alias
alias允许常用的命令以单个PyMOL关键词表示
USAGE
alias name, command-sequence
PYMOL API
cmd.alias(string name,string command)
EXAMPLES
alias go,load $TUT/1hpv.pdb; zoom 200/; show sticks, 200/ around 8 go
B
Bg Color
Bg_Color是用来进行设置背景颜色
USAGE
bg_color [color]
PYMOL API
cmd.bg_color(string color="balck")
EXAMPLE
#设置为白色背景
bg_color white
D
Delete
delete移除objects或者selections匹配的expression名称
USAGE
delete name
delete all #删除所有
name=name of object or selection
PYMOL API
cmd.delete(string name = object-or-selection-name )
R
Remove
remove将会从模型中删除选择的原子
USAGE
remove (selection)
PYMOL API
cmd.remove( string selection )
EXAMPLES
remove (resi 124)
S
Show
show和show as命令是在PyMOL中经常使用的命令工具,你可以用来展示清晰的原子作为Lines,Sticks,Cartoons或者其他类型
USAGE
show
show reprentation [,object]
show reprentation [,(selection)]
show (selection)
PYMOL API
cmd.show( string representation="", string selection="" )
EXAMPLES
#展示骨架为lines模式
show lines,(name ca or name c or name n)
#展示ribbon对于所有的objects
show ribbon
# 展示hetero原子作为spheres
show spheres,het
# 展示极性氢
hide everything, ele h
show lines,ele
Show_as
USAGE
show_as representation [,selection]
ARGUMENTS
- representation = lines,spheres,mesh,ribbon,cartoon,sticks,dots,surface,labels,extent,nonbonded,nb_spheres,slice,extent,slice,dashes,angles,dihedrals,cgo,cell,callback,everything
-selection=string{default:all}
PYMOL API
cmd.show_as(string representation, string selection)
EXAMPLES
# 展示骨架原子作为lines
show_as lines,name ca or name c or name n
# 展示所有的作为ribbon
show_as ribbon
更多原创精彩视频敬请关注生信杂谈: