georglind / mollusk

Python library for parsing mol-files and drawing molecular skeleton/stick figures with matplotlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mollusk

Python library for parsing mol-files and drawing molecular skeleton/stick figures with matplotlib

Simple usage

from mollusk.mol import skeleton
import matplotlib.pyplot as plt

fig, ax = matplotlib.figure(figsize=8,6)
molfile = 'path/to/your/molfile.mol'

skeleton.draw_mol(fig, ax, molfile)

plt.show()

About

Python library for parsing mol-files and drawing molecular skeleton/stick figures with matplotlib

License:MIT License


Languages

Language:Python 100.0%