
Hi Steven, Maybe this page in the programmer documentation (and links therein) would help... it includes "fitmap," at least: <https://www.cgl.ucsf.edu/chimerax/docs/devel/core/commands/user_commands.htm...> I don't create the programmer documentation, but since the page says version 1.2 I'm hoping it's reasonably up-to-date. The "save" link doesn't say much, however, so somebody else will have to give more information on writing files. Best, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 19, 2021, at 10:05 AM, Steven Truong <sdt45@cam.ac.uk> wrote:
To whom it may concern, Hello! I was hoping to ask for some help in Python Scripting in ChimeraX. Specifically, I am trying to fit structure files (.PDB) to electron density maps (.MAP). Is there a way to do this in .PY scripts in ChimeraX? I can’t seem to find such a command like “fitmap” in the documentation here (https://www.cgl.ucsf.edu/chimerax/docs/devel/modules.html). Additionally, it seems like the “Read and Write PDB Files” page (https://www.cgl.ucsf.edu/chimerax/docs/devel/bundles/atomic/src/pdbio.html) of the documentation page hasn’t been updated. Is there another place that outlines how to save structures?