A Multi-Modality Benchmarking Platform For Molecular Representation
Supporting ADMET, QSAR, Virtual Screening and More
News !
- [2024/09/17] benchmol is released on GitHub.
Features !
-
Supports Property Prediction, ADMET, QSAR, Virtual Screening and More
-
Supports 7 different modalities of molecules, including fingerprint, sequence, graph, geometry graph, image, geometry image, and video.
-
Supports a large number of baselines for molecular data of different modalities.
-
Two novel benchmarks: MBANet and StructNet.
Installation
From PyPi
conda create --name test_env python=3.9
pip install benchmol
- If the dependencies are not automatically installed, use the following command to initialize the dependency environment:
pip install -r requirements_pip.txt
Benchmarks
BenchMol provides two new benchmarks, MBANet and StructNet.
MBANet
| Name | Link | Description |
| ------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| MBANet | OneDrive | Complete MBANet data, including csv files of molecules and data of different modalities processed |
StructNet
| Name | Link | Description |
| --------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
| Raw Data | OneDrive | > 10 million molecules from CHEMBL 34 |
| Raw Data of StructNet | OneDrive | The original data of StructNet includes csv files of 60 datasets. |
| Processed Data of StructNet | OneDrive | Processed data, including geometry, image, video and other multi-modal data |
Tutorials
We provide examples of using benchmol, please see below:
Feature Extraction
The following shows a use case of extracting features from different modalities with benchmol:
| Description | Tutorial Links |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| Extracting Molecular Fingerprints | 1_extract_fp_features.ipynb |
| Extracting features from sequence using un-pretrained CHEM-BERT | 1_extract_sequence_features.ipynb |
| Extracting features from geometry image using IEM | 1_extract_geometry_image_features.ipynb |
| Extracting features from graph using GIN | 1_extract_graph_features.ipynb |
| Extracting features from molecular image using ImageMol | 1_extract_image_features.ipynb |
| Extracting features from video using VideoMol | 1_extract_video_features.ipynb |
Linear Probing
Use case for linear probing is provided with benchmol: 2_linear_probing.ipynb
Fine-tuning
Use case for fine-tuning is provided with benchmol:
| Description | Tutorial Links |
|------------------------------------------|-----------------------------------------------------------------------|
| Fine-tuning with sequence modality | 3_fine_tuning_sequence.ipynb |
| Fine-tuning with graph modality | 3_fine_tuning_graph.ipynb |
| Fine-tuning with geometry graph modality | 3_fine_tuning_geometry.ipynb |
| Fine-tuning with image modality | 3_fine_tuning_image.ipynb |
| Fine-tuning with geometry image modality | 3_fine_tuning_geometry_image.ipynb |
| Fine-tuning with geometry video modality | 3_fine_tuning_video.ipynb |
Releases
For more information on BenchMol versions, see the Releases page.
Reference
If you find our code or anything else helpful, please do not hesitate to cite the following relevant papers:
Acknowledge
Metadata
Release files for benchmol 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| benchmol-0.0.2.tar.gz | 352.9 kB | Without provenance | Details for benchmol-0.0.2.tar.gz |
Release files / benchmol-0.0.2.tar.gz
| Download URL | benchmol-0.0.2.tar.gz |
|---|---|
| Size | 352.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b35c661d9a4b3595eda0d1fe7545b197987ff6217397e79862ce892d37b4812
|
|
BLAKE2b-256 checksum How to use checksums |
a6dc2685ef0a4d0e510e77aa0adf82dc1a7b95c711bbb415b214dc9f4df1a0ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|
Security for benchmol 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.