# PyMOL

**PyMOL** 是一个分子可视化系统，用于在三维中渲染、分析蛋白质和其他生物分子，并生成出版质量图像。它运行在开源基础上，由 Schrödinger 有限责任公司（Schrödinger, LLC）维护和分发，提供开源版和商业（激励）版。<sup>[1](https://www.pymol.com/)</sup><sup> • </sup><sup>[2](https://github.com/schrodinger/pymol-open-source/blob/master/LICENSE)</sup> 该系统由沃伦·L·德莱诺（Warren L. DeLano）创建，于 1999 年 12 月首次发布；其 2002 年的参考文献引用 DeLano, W. L., *The PyMOL Molecular Graphics System*，至今仍是结构生物学软件中被引用最多的条目之一。<sup>[3](https://pymol.sourceforge.net/newman/user/S0107preface.html)</sup><sup> • </sup><sup>[4](https://biochem.oregonstate.edu/sites/biochem.oregonstate.edu/files/2022-09/JieJing2016.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 它是什么 | 用于蛋白质和生物分子三维可视化、分析及生成出版质量图像的分子图形系统<sup>[1](https://www.pymol.com/)</sup> |
| 起源 | 由沃伦·L·德莱诺（Warren L. DeLano）于 1999 年 12 月发布；标准引用为 DeLano（2002），德莱诺科学有限责任公司（DeLano Scientific LLC），加利福尼亚州圣卡洛斯（San Carlos, CA）<sup>[3](https://pymol.sourceforge.net/newman/user/S0107preface.html)</sup><sup> • </sup><sup>[4](https://biochem.oregonstate.edu/sites/biochem.oregonstate.edu/files/2022-09/JieJing2016.pdf)</sup> |
| 能力 | 超过 600 项设置、约 20 种表示方式，并支持 30 多种文件格式，从 PDB 文件到体积电子密度图（volumetric electron density maps）<sup>[5](https://www.pymol.org/view.html)</sup> |
| 脚本 | PML 命令语言加嵌入式 Python 解释器；无法识别的命令行输入会传给 Python<sup>[6](https://pymol.org/pymol-command-ref.html)</sup> |
| 许可 | 开源版采用 Python 许可证（版权归 Schrödinger, LLC 所有）；激励版（incentive edition）按订阅销售：商业单用户每年 1,050 美元，学术用户每年 99 美元<sup>[2](https://github.com/schrodinger/pymol-open-source/blob/master/LICENSE)</sup><sup> • </sup><sup>[7](https://pymol.org/buy.html)</sup> |
| 当前版本 | PyMOL 3.x 支持 64 位 Windows 11、macOS 13.0+（包括 Apple Silicon）和 64 位 Linux；3.1 版迁移到 Schrödinger 许可证管理器（Schrödinger License Manager）<sup>[8](https://www.pymol.com/support.html)</sup> |
| 渲染 | 首个包含高速内置光线追踪器（ray-tracer）、可处理其原生内部几何结构的全功能分子图形程序<sup>[9](https://pymol.sourceforge.net/newman/userman.pdf)</sup> |

## 历史

PyMOL 于 1999 年 12 月的圣诞假期期间发布。德莱诺设计它的目的，是可视化单一结构的多种构象，例如轨迹或对接配体集合；与外部程序对接；在 Windows 和 Unix 下都提供专业级图形；制作出版质量图像；并适应紧张预算。<sup>[3](https://pymol.sourceforge.net/newman/user/S0107preface.html)</sup> 他在用户手册中主张，对于计算机辅助科学而言，开源软件本质上是一种更优越的研究产品；他通过用户赞助模式而非传统销售来资助开发。<sup>[3](https://pymol.sourceforge.net/newman/user/S0107preface.html)</sup><sup> • </sup><sup>[1](https://www.pymol.com/)</sup>

德莱诺于 2009 年 11 月 3 日意外去世，PyMOL 社区随后设立德莱诺纪念 PyMOL 开源奖学金（DeLano Memorial PyMOL Open-Source Fellowship）以纪念他。<sup>[10](https://wiki.pymol.org/index.php/Warren)</sup><sup> • </sup><sup>[11](https://pymol.org/news.html)</sup>

## 可视化功能

PyMOL 以近 20 种方式表示结构。球体给出类似 CPK 的视图，表面和网格显示体积形状，线和棍强调键连接性，带状和卡通表示方式标示二级结构与拓扑；内置的向导菜单（Wizard menu）演示介绍标准表示方式。<sup>[5](https://www.pymol.org/view.html)</sup> 该程序可读取 30 多种文件格式，从 PDB 坐标文件到多 SDF（multi-SDF）小分子文件，再到体积电子密度图（volumetric electron density maps），并将完整工作状态（包括对象位置、颜色、表示方式、分子状态、帧和动画）保存到跨平台会话文件（Session file）中。<sup>[5](https://www.pymol.org/view.html)</sup>

**渲染质量。** PyMOL 是首个全功能分子图形程序，包含可与原生内部几何结构配合工作的高速内置光线追踪器（ray-tracer），能产生比交互式 OpenGL 视图更平滑的明暗和更柔和的光照。<sup>[9](https://pymol.sourceforge.net/newman/userman.pdf)</sup> 体积可视化会一次性渲染电子显微镜图等体积数据，而不是渲染孤立的等值面（iso-surface）；Schrödinger 建议处理大型数据集时使用至少 512 MB 显存的显卡。<sup>[12](https://www.pymol.org/volume.html)</sup><sup> • </sup><sup>[13](https://www.pymol.com/volume_details.html)</sup> 近期版本增加了多级撤销、弯曲卡通圆柱螺旋、改进的等值面生成、对 Looking Glass 全息显示器的支持，以及同时显示多个等值面。<sup>[14](https://www.pymol.org/features.html)</sup>

## 脚本与命令语言

每个操作都可在 PyMOL 命令行和 PML 脚本中作为命令使用，完整命令参考可在程序内用 `cmd.write_html_ref('pymol-command-ref.html')` 重新生成。<sup>[6](https://pymol.org/pymol-command-ref.html)</sup> `help` 命令会把命令说明打印到文本缓冲区，追加问号则打印其用法，例如 `color ?` 返回 `Usage: color color [, selection [, quiet [, flags ]]]`；方括号表示可选参数。<sup>[6](https://pymol.org/pymol-command-ref.html)</sup>

解释器会回退到 Python：它不识别为 PML 命令的输入会传给 Python 解释器，前导斜杠（`/`）强制进行 Python 求值，`python` 命令则引入多行 Python 脚本。<sup>[6](https://pymol.org/pymol-command-ref.html)</sup> 一个典型的交互会话用 `fetch 1a00` 加载结构，用 `as cartoon` 切换表示方式，用 `color orange, chain A+C` 给链着色，并用 `orient resn HEM and chain A` 将相机对准辅因子；Tab 键自动补全可用于命令、颜色和表示方式名称。<sup>[15](https://pymol.org/tutorials/scripting/commandline.html)</sup> Python API 也直接暴露，例如 `cmd.show(string representation, string selection)`。<sup>[16](https://wiki.pymol.org/index.php/Show)</sup>

## 许可与版本

开源版以 `schrodinger/pymol-open-source` 之名发布在 GitHub 上，版权归 Schrödinger, LLC 所有，并按 Python 许可证分发；该许可证允许为任何目的免费使用、复制、修改和再分发，前提是保留版权声明。<sup>[2](https://github.com/schrodinger/pymol-open-source/blob/master/LICENSE)</sup><sup> • </sup><sup>[17](https://github.com/schrodinger/pymol-open-source/blob/master/README)</sup>

付费订阅包括升级、英语技术支持和官方在线文档。商业单用户许可证一年 1,050 美元、两年 2,100 美元、三年 3,150 美元；员工少于 1,000 人的机构可购买一级（Tier 1）机构全员访问，每年 5,250 美元；学术单用户许可证每年 99 美元，学术一级实验室访问每年 500 美元。<sup>[7](https://pymol.org/buy.html)</sup> 3.0 及更高版本可运行于 64 位 [Windows 11](https://www.edgepedia.org/zh/windows-11)、macOS 13.0 及更高版本（包括通过 [Rosetta 2](https://www.edgepedia.org/zh/rosetta-2) 在 Apple Silicon 上运行），以及 glibc 2.28 或更高版本的 64 位 Linux 发行版。<sup>[8](https://www.pymol.com/support.html)</sup>

## 在研究和教育中的使用

PyMOL 是结构生物学中制作出版图和动画的标准工具；一本带有注释的教程合集收录了用 PyMOL 创建的插图和脚本，作为生物分子图形指南出版。<sup>[18](https://pmc.ncbi.nlm.nih.gov/articles/PMC2928806/)</sup> 在教学方面，一项已发表的课堂活动使用 PyMOL 应用帮助生物化学初学者培养关于蛋白质三维结构和配体表示方式的视觉素养；该活动可安排在 50 分钟的课堂内，并将部分内容布置为作业。<sup>[19](https://pubmed.ncbi.nlm.nih.gov/27241834/)</sup> [Google Cloud Platform](https://www.edgepedia.org/zh/google-cloud-platform) 上的云端培训模块将 PyMOL 与 DSSP 一起用于蛋白质结构分析和对接结果的结构检查。<sup>[20](https://www.frontiersin.org/journals/education/articles/10.3389/feduc.2026.1837315/full)</sup> 可扩展的插件生态系统持续发展：通过修改程序，新增了一种类似于 MOLMOL 香肠样式（sausage style）的“腻子”（putty）卡通表示方式；开源插件 PyMOLfold 则将基于 AI 的蛋白质和配体结构预测直接集成到应用中。<sup>[21](https://arxiv.org/abs/1407.5211)</sup><sup> • </sup><sup>[22](https://arxiv.org/abs/2502.00508)</sup>

## 与其他可视化工具的比较

PyMOL、VMD、UCSF Chimera 和 Jmol/JSmol 构成一组核心分子可视化软件包，数十年来服务于庞大的用户社区。<sup>[23](https://portlandpress.com/biochemsoctrans/article-pdf/48/2/499/873805/bst-2019-0621c.pdf)</sup> 在当前实践中，这些工具按任务分工：VMD 更适合可视化和分析分子动力学轨迹，尤其是长时间模拟或大型系统；而 ChimeraX 已成为冷冻电镜（cryo-EM）工作的标准工具，用于处理密度图、模型拟合和密度可视化。<sup>[24](https://structbiotools.com/pymol-vs-vmd-vs-chimerax/)</sup> PyMOL 仍是渲染出版图的默认选择；一种常见搭配是用 VMD 进行轨迹分析，再用 PyMOL 渲染提取出的帧。<sup>[24](https://structbiotools.com/pymol-vs-vmd-vs-chimerax/)</sup>

## References

1. [PyMOL | pymol.org](https://www.pymol.com/)
2. [Open-Source PyMOL LICENSE, schrodinger/pymol-open-source, GitHub](https://github.com/schrodinger/pymol-open-source/blob/master/LICENSE)
3. [PyMOL Users Manual, preface (DeLano, 1999–2002)](https://pymol.sourceforge.net/newman/user/S0107preface.html)
4. [DeLano, W.L. (2002). The PyMOL Molecular Graphics System, DeLano Scientific LLC, San Carlos, CA (citation record)](https://biochem.oregonstate.edu/sites/biochem.oregonstate.edu/files/2022-09/JieJing2016.pdf)
5. [View 3D Molecular Structures, pymol.org](https://www.pymol.org/view.html)
6. [PyMOL Command Reference](https://pymol.org/pymol-command-ref.html)
7. [Buy PyMOL, pymol.org](https://pymol.org/buy.html)
8. [Support | pymol.org](https://www.pymol.com/support.html)
9. [PyMOL User Manual, Ray-Tracing chapter](https://pymol.sourceforge.net/newman/userman.pdf)
10. [Warren, PyMOL Wiki](https://wiki.pymol.org/index.php/Warren)
11. [News | pymol.org (DeLano Memorial Fellowship)](https://pymol.org/news.html)
12. [Volume Visualization | pymol.org](https://www.pymol.org/volume.html)
13. [Volume Visualization Details | pymol.org](https://www.pymol.com/volume_details.html)
14. [New Features | pymol.org](https://www.pymol.org/features.html)
15. [PyMOL Scripting Workshop: Interactive Command Line](https://pymol.org/tutorials/scripting/commandline.html)
16. [Show, PyMOL Wiki](https://wiki.pymol.org/index.php/Show)
17. [pymol-open-source README, GitHub](https://github.com/schrodinger/pymol-open-source/blob/master/README)
18. [An Introduction to Biomolecular Graphics, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC2928806/)
19. [Using the PyMOL application to reinforce visual understanding of protein structure, PubMed](https://pubmed.ncbi.nlm.nih.gov/27241834/)
20. [Cloud-based structural biology and drug discovery training module on Google Cloud Platform, Frontiers in Education](https://www.frontiersin.org/journals/education/articles/10.3389/feduc.2026.1837315/full)
21. [Development & Implementation of a PyMOL 'putty' Representation, arXiv](https://arxiv.org/abs/1407.5211)
22. [PyMOLfold: Interactive Protein and Ligand Structure Prediction in PyMOL, arXiv](https://arxiv.org/abs/2502.00508)
23. [Visualizing protein structures – tools and trends, Biochemical Society Transactions](https://portlandpress.com/biochemsoctrans/article-pdf/48/2/499/873805/bst-2019-0621c.pdf)
24. [PyMOL vs VMD vs ChimeraX: Which Molecular Visualization Tool Should You Use?](https://structbiotools.com/pymol-vs-vmd-vs-chimerax/)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Named software products and platforms › Bioinformatics and molecular science software

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/pymol

English original: https://www.edgepedia.org/pymol
