jtnnencoder
Pip installable version of the Junction Tree Variational Autoencoder https://arxiv.org/abs/1802.04364. The original, full repository can be found here: https://github.com/wengong-jin/icml18-jtnn
Intended to be used as a simple interface for generating molecular features for molecules based on JTNN latent vectors.
Install
$ pip install jtnnencoder
$ pip install torch
You will also need rdkit:
$ conda install -c rdkit rdkit
Use
from jtnnencoder import JTNNEmbed
smiles = ['CC1(C)[C@H]2C[C@H](C/C=C\CCCC(=O)O)[C@@H](NC(=O)c3csc4ccc(O)cc34)[C@@H]1C2']
jtnn = JTNNEmbed(smiles)
features = jtnn.get_features()
features is then a numpy ndarray of dimension (n_smiles x n_features).
Metadata
Release files for jtnnencoder 0.1
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 |
|---|---|---|---|---|
| jtnnencoder-0.1.tar.gz | 19.0 MB | Without provenance | Details for jtnnencoder-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jtnnencoder-0.1-py3-none-any.whl | Python 3 | none | any | Details for jtnnencoder-0.1-py3-none-any.whl |
Total release size: 38.0 MB
Release files / jtnnencoder-0.1.tar.gz
| Download URL | jtnnencoder-0.1.tar.gz |
|---|---|
| Size | 19.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f340b813d11b1189d06f693b1ebb00258a42cc8b475b7cb7587e4aea57eb894c
|
|
BLAKE2b-256 checksum How to use checksums |
a6c43594f729f9c0fb21d3dbda1e2642d67446e8629ae7af550e7eb1f2ab4544
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.8
|
Release files / jtnnencoder-0.1-py3-none-any.whl
| Download URL | jtnnencoder-0.1-py3-none-any.whl |
|---|---|
| Size | 19.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7f7868a7e58bc8841a3430c35c5314a6b35fce491166b96bd6a549b5aab8654
|
|
BLAKE2b-256 checksum How to use checksums |
283b1429b80a59eeb0917d17fd0f9fe1fecbaf22a592b7862e8f8eef888f088e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.8
|
Security for jtnnencoder 0.1
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.