Scripting access

Below is a simple python script that allows one to programatically access, a small-molecule parametrization service. Autocorrect said "problematic" instead of "programatic", maybe I'm noting getting the hint...

The script has minimal dependencies and is very "light-weight", meaning no error handling or error messages. A full working example for a benzene (duh!) is attached.

Long time ago, I had to implement something similar to this script, so this was a fairly easy job. It relies on mechanize and beautiful soup to do it's thing.

python -u "YOUR USERNAME" -p "YOUR PASSWORD" -c benzene.pdb

# manually correct the "RESI" line in benzene.str to be 
# RESI BNZ 0.000 ! param...

python BNZ benzene.mol2 benzene.str charmm36-jun2015.ff/

Source code and examples
git clone
Example on google drive

Edited: note on errors, link to github repo


Popular posts from this blog

React.js – edit and delete comments in CommentBox

ROCS-like shape overlap in rdkit

Example slurm cluster on your laptop (multiple VMs via vagrant)