Pymol使用

安装
下载已知蛋白结构
蛋白三级结构预测(I TASSER)
alphafold2 蛋白三级结构预测
如何用Pymol做出那些美呆的结构图(基础篇
Pymol实现2个蛋白结构比对#1-(How to align two structures in Pymol)- Part 1
Pymol实现2个蛋白结构比对#1-(How to align two structures in Pymol)- Part 2
Pymol核酸绘图
获取全方位的gif图

#import pip
#pip.main(['install', 'imageio'])
# Load PyMol model, file extension will be autodetected
python

import os
os.chdir("/Users/jiangc4/Desktop") 
#os.getcwd()  
import imageio

import imageio

# Number of degrees to rotate each frame
step = 10

# Vector to hold images
images = []

for a in range(0,360,step):
  cmd.rotate("y", float(step)) # Rotate around Y-axis
  cmd.ray(512,512) # Raytrace 512x512 image
  filename = "file"+str(a)+".png"
  cmd.png(filename)
  images.append(imageio.imread(filename))

# Create gif animation from images
imageio.mimsave('animation.gif', images)

# End of python script
python end

改名

set_name old_name, new_name

提取特定连并重命名

sele h24, chain A

你可能感兴趣的:(Pymol使用)