Skip to content

sethaxen/pymol_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pymol_scripts

Scripts for performing useful tasks within PyMOL

Setup

Assuming this repo is located in your home directory, add the following to your ~/.pymolrc file:

python

import os
import glob

script_repo_path = os.path.join(os.path.expanduser("~"), "pymol_scripts")
scripts = glob.glob(script_repo_path+"/*.py")
for script in scripts:
    cmd.run(script)

python end

When PyMOL starts up, all of these scripts should be available in PyMOL.

Script Categories

Protein Alignment

  • align_to_axis
    • Transform protein so that an atom selection (default N-terminal nitrogen) is located at the origin and the center of mass is located along a provided axis (default y-axis).

Small Molecule Alignment

Note: These scripts require that the RDKit distribution be in your $PYTHONPATH and compiled for the same version of Python as PyMOL.

About

Scripts for performing useful tasks within PyMOL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages