Last active
November 27, 2017 11:37
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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