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.2.tar.gz (4.1 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.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for molstat-0.2.tar.gz
Algorithm Hash digest
SHA256 693511ead3a07d2b378723ef2288793517188364b6d51d87ced08c09e5cfdce1
MD5 3a77237578484cdfed341e46583b0960
BLAKE2b-256 989f1caa17ca0ff51b2d930ccb125042a426d85f4a08745d116e641d70ce7f2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molstat-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fb85b8c6456b55f27507744a54d66ff8bfcbadb142ab2685d279b934b6bdc731
MD5 9c9aee951bb3e14856e8c22a1cc6ae9d
BLAKE2b-256 3097bc863057edb1272fb71d8b786d2da2345db8648c55409d7139be60f170d5

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