Skip to main content

用于计算分子性质和绘制性质分布的工具。

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

MIT 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

molstat-0.3.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

molstat-0.3.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file molstat-0.3.1.tar.gz.

File metadata

  • Download URL: molstat-0.3.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for molstat-0.3.1.tar.gz
Algorithm Hash digest
SHA256 479d39e48a61d39a2f36aaea3954c45ff99b0288fca859f58743a74a854a6072
MD5 8d0fa105b74dd9d12f1fba81a3df330d
BLAKE2b-256 997041923d361a4cd3edc0eb4ea7c80965a83a481c3a06493010cfffee0c8395

See more details on using hashes here.

File details

Details for the file molstat-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: molstat-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for molstat-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab18859069fcba2c4248515363fa7c09db361413a6aed2bbf63e28228950a022
MD5 81f2739326f20a0d7d7ac11e15a152f4
BLAKE2b-256 d08c207dee0b1f6b65c109e35dee1376bdfc75fff0f2eaafbc6e9b0ea11bb205

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page