convert structure to ppt

I wrote some web apps that gets some data from Database and make table in pptx.
Because, I want use my time about research not making pptx.
The script uses python-pptx library.
Medicinal chemist needs not only data but also structures in pptx, but I couldn’t embed structures in pptx files.
I don’t have enough skill do that :-(.
Today I found very cool tool using RDKit and Python-pptx , named sdf2ppt !!!!
Wow ! that’s sounds nice !
Let’s use it.
Source code and good presentation were uploaded github.
Before use it, user needs to install python-pptx and rdkit. If you are mac user, it’s very easy to install the tools using pip and homebrew :-).
so… clone the repo like this…

iwatobipen$ git clone

Then I got sample sdf from pubchem (sdf maybe anything OK).
in sdf2ppt folder sample template_pptx file is. So I used it.

If useing default settings, you can make pptx only typing like this ..

iwatobipen$ python sample_pubchem.sdf

Then new pptx file will be created.
Compare template and created file
Screen Shot 2014-11-25 at 10.57.08 AM
Screen Shot 2014-11-25 at 10.56.48 AM

New pptx file has images and each image has chemical ID that annotated in SDF.
Text area and settings(like how many compds images in one page, or template or more.) are easy to customise using python.



以下に詳細を記入するか、アイコンをクリックしてログインしてください。 ロゴ アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中