awesome-panel / panel-chemistry

🧪📈 🐍. The purpose of the panel-chemistry project is to make it really easy for you to do DATA ANALYSIS and build powerful DATA AND VIZ APPLICATIONS within the domain of Chemistry using using Python and HoloViz Panel.
MIT License
119 stars 16 forks source link

Ketcher editor #43

Open alexvoronov opened 10 months ago

alexvoronov commented 10 months ago

Request

It would be nice to have Ketcher component in Panel, with bidirectional communication of SMILES strings (Python -> Editor and Editor -> Python), as well as editor's Selection and Highlight.

Motivation

An easy-to-use editor could enable some nice applications: calculate properties as user draws molecules (e.g. GT4SD), enable AI copilot-style applications where AI proposes modifications, or collect human feedback on which parts of molecules would be "flagged" by chemists for undesirable properties.

Drawbacks

No response

Alternatives

Ketcher is quite similar to JSME, however, JSME interface "feels" quite outdated. There is Ketcher in Streamlit and Ketcher in Gradio (and Gradio implementation looks surprisingly short).

Additional Context

I got a few questions. Would panel-chemistry be a suitable "home" for Ketcher Panel component, or should it have its own repo? From PR #41 it looks like panel-chemistry does not yet support the latest Panel version, if that is correct, how difficult is it to upgrade?