美文网首页
pymol高级绘图

pymol高级绘图

作者: 可能性之兽 | 来源:发表于2023-05-09 21:08 被阅读0次
fetch 3uex, struct, async=0

remove solvent

# set the B-factors nice and high for smoothness
alter all, b=10
alter all, q=1

# 3.5 A map resolution
set gaussian_resolution, 3.5

# new gaussian map w/resolution=0.5 Ang
# on just the main chain
map_new map, gaussian, 0.5, n. C+O+N+CA, 5

# create a surface from the map
isosurface surf, map, 3.0

# color the protein by number
spectrum count, rainbow, struct

# now color the map based on the underlying protein
cmd.ramp_new("ramp", "struct", [0,10,10], [-1, -1, 0])

# set the surface color
cmd.set("surface_color", "ramp", "surf")

# hide the ramp and lines
disable ramp
hide lines

bg grey

# soften out the image
set light_count,8
set spec_count,1
set shininess, 10
set specular, 0.075
set ambient,0
set direct,0
set reflect, 0.85
set ray_shadow_decay_factor, 0.1
set ray_shadow_decay_range, 4

unset depth_cue

# ray trace the image
orient
ray
image.png
fetch 1eaz, async=0

extract oo, org

hide everything, solvent

set field_of_view, 50

preset.ball_and_stick("oo")

set_bond stick_color, 0xffff44, oo

set_bond stick_transparency, 0.35, oo

color grey, oo and e. C

set valence, 1, oo

ramp_new pRamp, oo, selection=poly, range=[5,30], color=rainbow

set surface_color, pRamp, poly

show spheres, poly

color white, poly

color grey30, poly and e. C

set sphere_scale, 0.99, poly

set ray_transparency_contrast, 0.20

set ray_transparency_oblique, 1.0

set ray_transparency_oblique_power, 20

show surface, poly

set surface_quality, 2

set light_count, 5

set ambient_occlusion_mode, 1

set ambient_occlusion_scale, 50

set ambient, 0.40

set transparency, 0.50

disable pRamp

set spec_power, 1200

set spec_reflect, 0.20

set ray_opaque_background, 0

set ray_shadow, 0

ray
image.png

Gallery - PyMOLWiki
PyMOL绘图进阶 - 知乎 (zhihu.com)

相关文章

  • Pymol核酸绘图

    大家都知道chimera的核酸绘图功能非常强大,一般大家理解的pymol核酸绘图功能就显得薄弱了,但是今天在看py...

  • 2020-11-17用ggplot绘制脑图谱

    (1)安装包 (2)基本绘图 (3)高级绘图

  • PyMOL免费下载及安装教程【Win版】

    打开官网,下载PyMOL 官网:https://pymol.org/2/[https://pymol.org/2/...

  • 11-1绘图

    图就是数据,数据就是图 base绘图函数image.png 绘图参数image.png*低级绘图函数需要寄生于高级...

  • R语言笔记Day1(五 作图)

    1. 基础包-绘图函数 1)高级绘图函数 plot() hist() 频率直方图 boxplot() 箱式图 ...

  • pymol module 添加到 python 的 import

    先查看 pymol module 的路径 将 pymol module 的路径添加到 python import ...

  • R绘图函数

    R语言四大作图系统: 基础绘图系统 lattice包 ggplot2包 grid包 R绘图分类: 高级绘图(搭好框...

  • 生信入门6-R画图

    作图 用R的基础包区别清楚:高级绘图函数(如plot、boxplot等),低级绘图函数(如curve、points...

  • 在Pymol中使用tmalign

    安装Pymol, psico和TMalign插件 初始化psico 在Pymol中使用tmalign命令必须先加载...

  • 数据挖掘20210111学习笔记

    R语言作图 低级绘图函数建立在高级绘图函数基础上,不能单独使用 ggplot2语法 1.入门级绘图模板2.映射-颜...

网友评论

      本文标题:pymol高级绘图

      本文链接:https://www.haomeiwen.com/subject/vavrcdtx.html