用于计算分子性质和绘制性质分布的工具。
Project description
Molecular Descriptor Stat Analysis Tools
This Python command calculates various molecular descriptors for a given set of molecules from an SDF file and plots the molecular weight distribution.
Features
- Calculate TPSA (Topological Polar Surface Area)
- Calculate LogP (Molecular LogP)
- Calculate Molecular Weight (MW)
- Calculate Hydrogen Bond Donors (HBD)
- Calculate Hydrogen Bond Acceptors (HBA)
- Plot the distribution of molecular weights
Requirements
- RDKit: A collection of cheminformatics and machine-learning tools
- NumPy: The fundamental package for scientific computing with Python
- Matplotlib: A plotting library for the Python programming language
Installation
To install the required packages, run:
pip install molstat
Usage
Run the script with an SDF file as an argument:
molstat your_file.sdf
Output
The script will generate a plot of the molecular weight distribution and save it as a PNG file with the name structure: MW<basename>.png, where <basename> is the name of the input file without the extension.
Example
To analyze a file named test.sdf, you would run:
molstat test.sdf
This will generate a plot named MWtest.png.
License
Contact
For any questions or issues, please contact zqchen_simm@qq.com .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file molstat-0.1.tar.gz.
File metadata
- Download URL: molstat-0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13c7a1643d065c1a1461d47dce7d35134f966f9c576fb0624f710216a5804ccd
|
|
| MD5 |
c45ed07321c18f1affa256ae6d3271e1
|
|
| BLAKE2b-256 |
d7f706b9c2599f1ed1257af07e8da7cb3390f3b830b1981ff825b97148d71430
|
File details
Details for the file molstat-0.1-py3-none-any.whl.
File metadata
- Download URL: molstat-0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a54981d6b66725264de2f4b5f5e1b777b915abf6896147e02923dfd236da8b0
|
|
| MD5 |
94ff874c585f25b7fc57a994cf025b63
|
|
| BLAKE2b-256 |
bbea883b5c9180744d4ad38eddd820f49dd57358391d9c6058605975525a9d1c
|