Skip to content

Instantly share code, notes, and snippets.

@bougui505
Last active November 27, 2017 11:37
Show Gist options
  • Save bougui505/11538913 to your computer and use it in GitHub Desktop.
Save bougui505/11538913 to your computer and use it in GitHub Desktop.
run dock prep from command line with: chimera --nogui file.pdb dockprep.py outfilename.mol2
import chimera
from DockPrep import prep
models = chimera.openModels.list(modelTypes=[chimera.Molecule])
prep(models)
from WriteMol2 import writeMol2
writeMol2(models, "dp.mol2")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment