マテリアルズ・インフォマティクス(MI)、ケモ・インフォマティクスのためのアドインです。マテリアルズ・インフォマティクスは、材料の開発や探索をより効率的にするために、機械学習などの情報科学の技術を活用する取り組みです。
分子を機械学習で扱う際の課題は、分子をコンピュータが解釈できる数値にどう変換するか、という点です。その一つの解決策として「フィンガープリント」があります。これは化合物の構造的な特徴を数値で表現したもので、特徴量とも呼ばれます。このような特徴量には、様々な記述子が提案されています。
このアドインでは、RDKitというライブラリを使って、SMILESからこれらの記述子を計算することができます。計算した記述子は予測モデルの説明変数として利用することが可能です。
このアドインでは、以下のようなことが可能です。
RDKitについては、以下のページをご覧ください。
Python Install Packages("numpy pandas rdkit");
This add-in for materials informatics and chemical informatics. This add-in uses an RDKit(https://www.rdkit.org/ ) to calculate these descriptors from SMILES. The calculated descriptors can be used as feature variables in the prediction model.
Here's what you can do:
You must install RDKit before using this add-in .
Python Install Packages("numpy pandas rdkit");
Excellent add-in @yuichi_katsumur ! Chemistry is arguably the most popular branch of science for JMP and you have just provided us easy access to the powerful and feature-rich RDKit package, making QSAR in JMP much more accessible.
The clear instructions for installing RDKit in Python are very easy to follow and really appreciate the nice checking utility with attractive output.
The Descriptors and three kinds of Fingerprints are great inputs to use for exploratory analyses (e.g. PCA, Multivariate Embedding, Hierarchical Clustering, Response Screening) and predictive modeling (e.g. Fit Model, Neural, SVM, XGBoost, Torch).
The molecule drawings are fast and make compelling labels in the JMP table.
The JSME editor and substructure search capabilities are remarkable and a very welcome bonus.
The attention to detail in this add-in is terrific!
I've just started to use the JMP 19EA version and I get this message. Is there a way to update the add-in to enable it to run? the Python packages has been installed and I get the green ticks for these so I don't believe that this is the problem.
can be done manually:
rename the .jmpaddin to .zip, open AddIn.def and change to:
Hello @d_barnett , Thanks for trying this add-in. I am updating the add-in to be able to use it with JMP 19. I have noticed that if I use an older version of RDKit, JMP crashes. If you are experiencing this crash, please update RDKit.
import jmp
import jmputils
# update to latest version of pip and setuptools then update RDKit
jmputils.jpip('install --upgrade', 'pip setuptools')
jmputils.jpip('install --upgrade', 'rdkit')
@hogi , Thank you for your reply.
After updating to JMP Pro 18.1.0, I noticed that the addin no longer worked. Check Python package indicated that pandas was not valid. Running the JSL script:
Python Install Packages("numpy pandas rdkit");
did not help and generated the following traceback in the Log:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\chutchison\AppData\Roaming\JMP\JMP\Python\Python311\site-packages\pip\__main__.py", line 22, in <module>
from pip._internal.cli.main import main as _main
File "C:\Users\chutchison\AppData\Roaming\JMP\JMP\Python\Python311\site-packages\pip\_internal\cli\main.py", line 10, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "C:\Users\chutchison\AppData\Roaming\JMP\JMP\Python\Python311\site-packages\pip\_internal\cli\autocompletion.py", line 10, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "C:\Users\chutchison\AppData\Roaming\JMP\JMP\Python\Python311\site-packages\pip\_internal\cli\main_parser.py", line 9, in <module>
from pip._internal.build_env import get_runnable_pip
File "C:\Users\chutchison\AppData\Roaming\JMP\JMP\Python\Python311\site-packages\pip\_internal\build_env.py", line 19, in <module>
from pip._internal.cli.spinners import open_spinner
File "C:\Users\chutchison\AppData\Roaming\JMP\JMP\Python\Python311\site-packages\pip\_internal\cli\spinners.py", line 9, in <module>
from pip._internal.utils.logging import get_indentation
File "C:\Users\chutchison\AppData\Roaming\JMP\JMP\Python\Python311\site-packages\pip\_internal\utils\logging.py", line 4, in <module>
import logging.handlers
File "logging\handlers.py", line 26, in <module>
File "C:\Program Files\JMP\JMPPRO\18\python311.zip\socket.py", line 51, in <module>
ModuleNotFoundError: No module named '_socket'
Deleting / reinstalling the addin did not help, nor did restarting JMP Pro and deleting / reinstalling the addin . Running the python code above from @yuichi_katsumur to update RDkit gave the same traceback. What can I do to get the addin working again?
Hi @chutchison , Thank you for using this addin. I think there is a problem with the Python integration functionality when you upgrade JMP 18. Could you contact technical support (support@jmp.com)?
@yuichi_katsumur: I worked with technical support. Uninstalling / reinstalling JMP 18 Pro 18.1.0 allowed me to correctly reinstall this addin.