Menu

minimize by python

2021-05-07
2021-05-12
  • pan xiaolin

    pan xiaolin - 2021-05-07

    smina is a very good tool for docking and minimization, thank you for your work! I'm good at using Python in my project and the code of smina is written in c++, it's too hard for me to read and modify c++ code. Is there a python wrapper to import libsmina in python scripts? I want to use smina to minimize protein-ligand complexes in python with openbabel or rdkit mol object, could you help me?

     
  • David Koes

    David Koes - 2021-05-07

    A python interface is an interesting idea and I'd certainly accept a pull request with that functionality, but ultimately I don't think it would end up being meaningfully more efficient than calling the program directly through subprocess so it isn't a priority for me to implement.

     
  • pan xiaolin

    pan xiaolin - 2021-05-08

    I'm developing a program like pharmit, the program will search for a lot of ligands from the database. Ligands is written out to the disk and then minimized by smina is time-consuming. Do you have any suggestions to minimize complexes without writing out the file by smina.

     
  • David Koes

    David Koes - 2021-05-12

    You can launch the smina server as a separate process. An example python client script can be found here:
    https://sourceforge.net/p/smina/code/ci/master/tree/src/server/client.py

    Ligands must be in smina binary format (as generated by the tosmina binary).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.