This release is a pre-release and may not be stable for production use.
RMSD
Determining the Root Mean Square Deviation (RMSD) between the Maximum Common Substructures (MCS) of two molecules.
The Kuhn-Munkres Hungarian algorithm allows for a fast match of atoms based on:
- atomic symbol
- Sybyl atom types
- pharmacophoric types (i.e. H-bond donors and acceptors or charges)
Installation
pip install munkres-rmsd
Example
from munkres_rmsd import CalcLigRMSD, AtomType
from munkres_rmsd.RMSD import get_example_molecules
# First, load 3D poses of molecules
mol1, mol2 = get_example_molecules()
# Then compute the RMSD of the best atomic match
rmsd = CalcLigRMSD(mol1, mol2)
print(rmsd) # 10.76150...
Let's use Sybyl atom types to match atoms between the two molecules instead of the default, using atomic elements.
# Then compute the RMSD of the best atomic match
rmsd = CalcLigRMSD(mol1, mol2, AtomType.Sybyl)
print(rmsd) # 11.59752...
Should you prefer pharmacophore types (i.e. H-bond donors & acceptors, charges and others):
# Then compute the RMSD of the best atomic match
rmsd = CalcLigRMSD(mol1, mol2, AtomType.Pharmacophore)
print(rmsd) # 9.49120...
Finally to allow matching any atom whatever its type:
# Then compute the RMSD of the best atomic match
rmsd = CalcLigRMSD(mol1, mol2, AtomType.Skeleton)
print(rmsd) # 8.96288...
Metadata
Release files for munkres-rmsd 0.0.1.post4.dev0
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 |
|---|---|---|---|---|
| munkres_rmsd-0.0.1.post4.dev0.tar.gz | 7.3 kB | Without provenance | Details for munkres_rmsd-0.0.1.post4.dev0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| munkres_rmsd-0.0.1.post4.dev0-py3-none-any.whl | Python 3 | none | any | Details for munkres_rmsd-0.0.1.post4.dev0-py3-none-any.whl |
Total release size: 14.9 kB
Release files / munkres_rmsd-0.0.1.post4.dev0.tar.gz
| Download URL | munkres_rmsd-0.0.1.post4.dev0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0edf0a705fd83de2b07f74049ffcd9068917727d5fb8a8f54b83ebb03d09df08
|
|
BLAKE2b-256 checksum How to use checksums |
11029ca494c9600a074f58d2fc2d689323074e22ac0415ff8e6df2e2558507e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / munkres_rmsd-0.0.1.post4.dev0-py3-none-any.whl
| Download URL | munkres_rmsd-0.0.1.post4.dev0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b053ca4845ad7de578f1c1c1c3aff869bca539914251e1bb7f4a13e46b0d176
|
|
BLAKE2b-256 checksum How to use checksums |
6bd955bf968e747aa7a82c85ce459bf784375a4a3510182f68524c242718b55c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for munkres-rmsd 0.0.1.post4.dev0
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.