PYMOL(1)
π pymol(1) β User commands β¨
okay bestie, so this is the manual page for pymol, and the manual name is literally just pymol(1), section 1, user commands. sit down, grab a strawberry, we're doing molecular graphics π
πΈ NAME πΈ
pymol β free and flexible molecular graphics and modelling package. no cap, that's the whole name section. iconic.
π¦ SYNOPSIS π¦
pymol [options] [files]
that's it. options, then files. slay.
β¨ DESCRIPTION β¨
so over the years, PyMOL has become, like, a genuinely capable molecular viewer β it supports animations, high-quality rendering, crystallography, and a whole bunch of other common molecular graphics activities. it's giving main character energy fr fr.
it's been adopted by many hundreds (honestly, maybe even thousands) of scientists spread across thirty countries. the reach? global. the vibe? scientific.
but β and this is important β PyMOL is still very much a work in progress, and development is expected to continue for years to come. so like, be nice to it, it's growing π«Ά
π OPTIONS π
these are the options currently supported. yes, all of them. we don't skip π
-2β start in two-button mouse mode. two buttons, two vibes.-cβ command line mode, no GUI. this is the one for batch operations, i.e. when you want it to just do the thing with zero window drama.-dstringβ run the pymol commandstringright upon startup. like a little "hey do this first" π«‘-eβ start in full-screen mode. immersive. cinematic. β¨-f#lineβ controls display of commands and feedback in OpenGL (0= off).-gfile.pngβ write a PNG file (this happens after evaluating previous arguments, so order matters bestie).-iβ disable the internal OpenGL GUI (that's the object list, menus, etc.). bye window stuff π-lfile.pyβ spawn a python program in a new thread.-oβ disable security protections for session files. β οΈ yes this is the risky one, don't just casually do this.-pβ listen for commands on standard input.-qβ quiet launch. suppress the splash screen & other chatter. introvert mode π-rfile.pyβ run a Python program (in__main__) on startup.-sscriptβ save commands to this PyMOL script or program file.-tβ use the Tcl/Tk based external GUI module (pmg_tk).-uscriptβ load and append to this PyMOL script or program file.-xβ disable the external GUI module.-Bβ enable blue-line stereo signal (for Mac stereo).-Gβ start in Game mode. yes, really.-Mβ force mono even when hardware stereo is present.-Rβ launch Greg Landrum's XMLRPC listener.-Sβ force and launch in stereo, if possible.-Xint-Yint-Wint-Hint-Vintβ adjust window geometry. all five of them, together, as a little squad.
π§ FILES π§
all files you provide will be loaded or run after PyMOL starts. and they can have one of these extensions, each with its own whole personality:
.pmlβ PyMOL command script to be run on startup.py[cm]β Python program to be run on startup.pdbβ Protein Data Bank format file to be loaded on startup.mmodβ Macromodel format to be loaded on startup.molβ MDL MOL file to be loaded on startup.sdfβ MDL SD file to be parsed and loaded on startup.xplorβ X-PLOR Map file (ASCII) to be loaded on startup.ccp4β CCP4 map file (BINARY) to be loaded on startup.cc[12]β ChemDraw 3D cartesian coordinate file.pklβ Pickled ChemPy Model (class"chempy.model.Indexed").r3dβ Raster3D file.cexβ CEX file (Metaphorics).topβ AMBER topology file.crdβ AMBER coordinate file.rstβ AMBER restart file.trjβ AMBER trajectory.pseβ PyMOL session file.phiβ Delphi/Grasp Electrostatic Potential Map
and for a list of options, you can also just type this in the command line of pymol:
help launching
π«Ά that's your cheat code.
π COMMANDS π
please refer to PyMOL's online documentation at http://www.pymolwiki.org/index.php/Category:Commands or its internal help for a command reference. iykyk π
π AUTHOR π
this manpage was written by Daniel Leidert <daniel.leidert@wgdd.de> for the Debian distribution (but may be used by others). we love a generous king.
okay so that's the whole thing. source/version is the PYMOL(1) page, dated 2008-05-06 β yes, 2008, a true vintage moment, and it still ate. periodt πβ¨ππ¦πΈ
π¦ where this page comes from
- debian bookworm: pymol 2.5.0+dfsg-1 Β· PyMOL
- debian trixie: pymol 3.1.0+dfsg-1 Β· PyMOL
- ubuntu jammy: pymol 2.5.0+dfsg-1build1 Β· PyMOL
- ubuntu noble: pymol 2.5.0+dfsg-1build6 Β· PyMOL
- ubuntu questing: pymol 3.1.0+dfsg-1build1
- ubuntu resolute: pymol 3.1.0+dfsg-1build3 Β· PyMOL
- ubuntu stonking: pymol 3.1.0+dfsg-1build4 Β· PyMOL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms